class Rouge::RegexLexer::Rule

A rule is a tuple of a regular expression to test, and a callback to perform if the test succeeds.

@see StateDSL#rule