Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^4: Roughly matching an ipv6 address with sql wildcard

by neilwatson (Priest)
on Sep 10, 2015 at 12:16 UTC ( [id://1141529]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Roughly matching an ipv6 address with sql wildcard
in thread Roughly matching an ipv6 address with sql wildcard

Does that mean that \A and \Z bind more tightly than | and if so, where is this precedence listed?

Neil Watson
watson-wilson.ca

Replies are listed 'Best First'.
Re^5: Roughly matching an ipv6 address with sql wildcard
by graff (Chancellor) on Sep 10, 2015 at 14:12 UTC
    Everything is explained in the perlre man page. The first subsection under "Regular Expressions" is "Metacharacters", where it should be clear that there is no difference in "precedence" between anchors and the alternation operator (\A and \Z are just variations on ^ and $). In fact, it's not so much a matter of "binding" or "precedence", but rather an issue of "grouping" (via parens, which are also explained in that same section).

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (4)
As of 2024-03-29 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found