method

add_regexp_handling

ruby latest stable - Class: RDoc::Markup

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

add_regexp_handling(pattern, name)
public

Add to other inline sequences. For example, we could add WikiWords using something like:

parser.add_regexp_handling(/\b([A-Z][a-z]+[A-Z]\w+)/, :WIKIWORD)

Each wiki word will be presented to the output formatter.