Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^8: Pattern Matching

by hippo (Bishop)
on Mar 20, 2017 at 09:32 UTC ( [id://1185243]=note: print w/replies, xml ) Need Help??


in reply to Re^7: Pattern Matching
in thread Pattern Matching

Actually, ". matches any single character" is simpler.

Clearly so, if taken in isolation. However, I came to Perl like many others through the time honoured journey starting at sed and passing through awk. Therefore to me it is consistent for standard (ie. modifier-less) regexen in Perl to be entirely compatible with sed and awk and if that makes the \n exception for . necessary then it's a holistic simplification for me. The point that it is not so for others is well made, however.

[indisputable] was also intended for comic effect :)

TBF, I was about half way through my previous reply and was about to point out the many discussions in these hallowed halls regarding the opinionated nature of some of TheDamian's considerable output when it occurred to me that you were probably joking. If it took me that long to spot it, a relative newcomer would have no chance and would almost certainly have taken you at your word. I'm glad therefore that the subsequent discussion has cleared that up. Thanks.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-23 07:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found