++ed by:
ADAMJS

1 PAUSE user(s)

刘刊

NAME

Hermes::Range - Extends Hermes::KeySet.

SYNOPSIS

 use Hermes::Range;

 my $a = Hermes::Range->new()->load( 'foo{00~99},bar{2~9}baz,-/bar/' );

 ## ... see base class for other methods ...

SYMBOLS

misc

  '~' : range
  '{' : open
  '}' : close
  '/' : regex

range

  ',' : add
 ',-' : subtract
 ',&' : intersect
 ',^' : symdiff

GRAMMAR

TOP

 ^ <expr> $

expr

 <product> [ <range_symbol> [ <match> | <product> ] ]*

product

 [ <range> | <complex> ]+

complex

 '{' <expr> '}'

match

 '/' <string> '/'

range

 <string> [ '~' <string> ]?

string

 <-misc_symbol -range_symbol>+ 

METHODS

load( $o )

Loads from a string, or an object supported by the base class namesake.