GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RANGE::STRING::PARSE (3)

.ds Aq ’

NAME

Range::String::Parse - Implements Range::Interface::Parse.

CONTENTS

VERSION

This documentation describes version 0.01

GRAMMAR

Tokenizer and parser implement the base class BNF with the following differences.

    <expression> ::=



  <multi> ( <operator> <multi> )* | <multi> ( <operator> <regex> )*



    <regex> ::= <a subset of perl regex>

e.g.



 /^foobar$/i
 /[1-3]/



Range takes precedence on symbols that are common to both range and regex.

OBJECT

A variable-level HASH with levels alternating between numeric and non-numeric keys, and leaves as { ’’ => ’’ }.

e.g. ’abc000~4,123~4xyz,abc123xyz456,abc,xyz’ is stored as



 123:
   xyz:
     : 
 124:
   xyz:
     : 
 abc:
   : 
   000:
     : 
   001:
     : 
   002:
     : 
   003:
     : 
   004:
     : 
   123:
     xyz:
       456:
         : 
 xyz:
   : 



LITERAL

A rudimentary range form. e.g.



 abc000~4
 xyz
 123



AUTHOR

Kan Liu

COPYRIGHT and LICENSE

Copyright (c) 2010. Kan Liu

This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.

Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 RANGE::STRING::PARSE (3) 2010-12-04

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.