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

Methods

inspect   new  

Attributes

beginning_of_line  [R] 
callback  [R] 
re  [R] 

Public Class methods

Public Instance methods

[Validate]