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

Re^3: Why doesn't quantifier work with character classes?

by BrowserUk (Pope)
on Aug 13, 2012 at 22:53 UTC ( #987236=note: print w/replies, xml ) Need Help??


in reply to Re^2: Why doesn't quantifier work with character classes?
in thread Why doesn't quantifier work with character classes?

Hence, the eight consecutive characters may appear anywhere on a line. Right?

Yes, but since the lines that match the character class in question contain only those characters; and a regex will always match as early as possible; that'll be at the beginning of the line in these cases.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

  • Comment on Re^3: Why doesn't quantifier work with character classes?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://987236]
help
Chatterbox?
and God said, "Let Newton be!"...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2016-12-08 00:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (133 votes). Check out past polls.