Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^2: A hard RegEx problem.

by dsheroh (Monsignor)
on Oct 19, 2007 at 04:53 UTC ( [id://645894]=note: print w/replies, xml ) Need Help??


in reply to Re: A hard RegEx problem.
in thread A hard RegEx problem.

Is there a specific reason why you paired ^ with \z? Normally, I'm used to seeing either ^/$ (start/end of line) or \A/\z (start/end of string). Mixing those up to anchor one end of the line and the other end of the string seems strange to me.

Replies are listed 'Best First'.
Re^3: A hard RegEx problem.
by ikegami (Patriarch) on Oct 19, 2007 at 05:02 UTC

    Happenstance. I chose them independently, not as a pair. Use \A..\z if you prefer. \z is kinda odd anyway. \A is closer to \Z than to \z.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2024-04-24 05:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found