Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

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

by neilwatson (Priest)
on Sep 10, 2015 at 12:16 UTC ( #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

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

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
Node Status?
node history
Node Type: note [id://1141529]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2018-12-16 06:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (70 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!