Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: regular expression help

by ikegami (Pope)
on Jun 03, 2009 at 20:30 UTC ( #768154=note: print w/replies, xml ) Need Help??


in reply to Re^2: regular expression help
in thread regular expression help

However, the capturing parentheses are not going to capture everything this way.

That's why I didn't recommend it. Perl's match operator can match extremely complex expressions (the initial purpose of regular expressions) and it can extract data from strings, but it's not so good at doing both at once. (At least not before 5.10. 5.10 added a bunch of tools that might help.)

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://768154]
help
Chatterbox?
[PriNet]: ok, i'm stumped... how do you split a string in javascript when the string was joined with chr(255) in perl ? string.split( String.fromCharCod e(255)); does not work... (help)

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-03-24 04:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (295 votes). Check out past polls.