Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2018-02-24 09:04 GMT
Find Nodes?
    Voting Booth?
    When it is dark outside I am happiest to see ...

    Results (310 votes). Check out past polls.