Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Simple way to skip spaces and # comments

by leszekdubiel (Scribe)
on Jul 31, 2020 at 13:56 UTC ( [id://11120140]=note: print w/replies, xml ) Need Help??


in reply to Re: Simple way to skip spaces and # comments
in thread Simple way to skip spaces and # comments

To be more precise... $a is a reference to string, that is beeing parsed. pos $$a shows current parsing position. From that position I need to skip all spaces and comments that extend maybe on many lines in that string. Positve zero-length match should be avoided.

Replies are listed 'Best First'.
Re^3: Simple way to skip spaces and # comments
by perlfan (Vicar) on Jul 31, 2020 at 16:24 UTC
    >Questions: (1) what is the better solution to strip white chars

    Asked and answered. ¯\_(ツ)_/¯

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-04-25 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found