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

Re: Pattern Matching Confusion

by DrWhy (Chaplain)
on Aug 11, 2005 at 13:49 UTC ( #482956=note: print w/replies, xml ) Need Help??

in reply to Pattern Matching Confusion

If you are only looking for any item that is 58 characters long among XML tags, you could use the following regular expression:

/>[a-zA-Z0-9 ]{58}</

And forget about passing in a search string as a command line argument.

In this case it may or may not be useful to actually parse the XML, but you might explore XML::Simple to see if it would help you here.


"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2018-08-14 08:43 GMT
Find Nodes?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:

    Results (146 votes). Check out past polls.