Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Simple Text Manipulation

by JavaFan (Canon)
on Feb 05, 2011 at 11:10 UTC ( #886384=note: print w/ replies, xml ) Need Help??

in reply to Simple Text Manipulation


Comment on Re: Simple Text Manipulation
Download Code
Replies are listed 'Best First'.
Re^2: Simple Text Manipulation
by pseingalt (Initiate) on Feb 05, 2011 at 14:45 UTC

    This is the response I get:

    Missing braces on \N{} at line 2, within pattern Nested quantifiers in regex; marked by <-- HERE in m/^(Article\s+0-9+\s+* <-- HERE \S)/ at line 2.

      What the JavaFan means is that  \N (without curly braces) in Perl 5.12+ is an experimental backslash sequence that will match any character but a newline. The negated character class  [^\n] will do the same for pre-5.12 Perl (but I haven't tested JavaFan's actual regex). (See Backslashed sequences (5.12.0), fourth paragraph in the Whitespace subsection, for discussion.)

      Upgrade your Perl.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2016-02-12 02:32 GMT
Find Nodes?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?

    Results (386 votes), past polls