Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Regex: Embedded pattern-match modifiers: Empty (?) modifier

by shmem (Chancellor)
on Feb 10, 2018 at 14:21 UTC ( #1208897=note: print w/replies, xml ) Need Help??


in reply to Re: Regex: Embedded pattern-match modifiers: Empty (?) modifier
in thread Regex: Embedded pattern-match modifiers: Empty (?) modifier

My guess ó and itís no more than a guess ó is that the documentation is wrong, and should read: Zero or more embedded pattern-match modifiers ...

Even if it is only a guess that the documentation is wrong: if it is underpinned by valid test cases, this warrants a bug report, so this can be evaluated and eventually be fixed.

perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
  • Comment on Re^2: Regex: Embedded pattern-match modifiers: Empty (?) modifier

Replies are listed 'Best First'.
Re^3: Regex: Embedded pattern-match modifiers: Empty (?) modifier
by choroba (Bishop) on Feb 12, 2018 at 14:09 UTC
    Reported. Watch the thread for updates, currently it isn't clear whether the code will be fixed, or the docs.

    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2018-11-21 08:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (237 votes). Check out past polls.

    Notices?