Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: P6: parsing whitespace

by moritz (Cardinal)
on Jun 09, 2010 at 18:01 UTC ( [id://843880]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    class Grammar {
       token ws {
           <!ww> \s*
       }
    }
    
  2. or download this
    token ww {
        <after  \w>
        <before \w>
    }
    
  3. or download this
    grammar Calc {
        token ws { \s* }
        # rest of your code here without any modifications
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://843880]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (9)
As of 2024-04-23 11:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found