Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: regex question: How do I modify in place in only one character class?

by aturtle (Novice)
on Jul 01, 2014 at 17:47 UTC ( #1091891=note: print w/replies, xml ) Need Help??


in reply to Re: regex question: How do I modify in place in only one character class?
in thread regex question: How do I modify in place in only one character class?

Thank you! (And thank you for putting aside the odd nature of the program) I saw the \K discussed as a way to do a variable width look behind on page 249 of the camel book but was not grasping it. Also I need to read up on how to use '?'. It appears '^>'is finding and holding the insert place just before the last '>' and the '?=' is marking the search spot for the '\s*\Q$value\E' ? thanks again!
  • Comment on Re^2: regex question: How do I modify in place in only one character class?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2023-01-30 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?