Sha256: b9cafb3346ba02ff7ec2cc2d4794aecea8be58c9eee35192988e3d3c9c48cac5

Contents?: true

Size: 264 Bytes

Versions: 9

Compression:

Stored size: 264 Bytes

Contents

#
# error2.rex
# lexical definition sample for rex
#

class Error2
macro
  BLANK         [\ \t]+
rule
  BLANK         # no action
  \d+           { [:digit, text.to_i] }
  \w+           { [:word, text] }
  \n
  .             { state = :NONDEF ; [text, text] }
end

Version data entries

9 entries across 9 versions & 4 rubygems

Version Path
aaronp-frex-1.0.0 sample/error2.rex
aaronp-frex-1.0.1 sample/error2.rex
tenderlove-frex-1.0.1.20090313144615 sample/error2.rex
rexical-1.0.5 sample/error2.rex
rexical-1.0.5.beta2 sample/error2.rex
rexical-1.0.5.beta1 sample/error2.rex
rex-1.0.2 sample/error2.rex
rexical-1.0.4 sample/error2.rex
rexical-1.0.3 sample/error2.rex