Class | Rouge::RegexLexer::Rule |
In: |
lib/rouge/regex_lexer.rb
|
Parent: | Object |
A rule is a tuple of a regular expression to test, and a callback to perform if the test succeeds.
@see StateDSL#rule
beginning_of_line | [R] | |
callback | [R] | |
re | [R] |