Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Extracting multiple-asterisk-delimited substring with Text::Balanced

by Anonymous Monk
on Dec 25, 2008 at 23:08 UTC ( [id://732616]=note: print w/replies, xml ) Need Help??


in reply to Extracting multiple-asterisk-delimited substring with Text::Balanced

Text::Balanced extract_tagged extracts and segments text between (balanced) specified tags....
extract_tagged($text, '<A>', '</A>', undef, {reject => ['<A>']} );
  • Comment on Re: Extracting multiple-asterisk-delimited substring with Text::Balanced
  • Download Code

Replies are listed 'Best First'.
Re^2: Extracting multiple-asterisk-delimited substring with Text::Balanced
by kba (Sexton) on Dec 25, 2008 at 23:27 UTC
    What do you want to tell me?
    1. I should have rtfm (I did)
    2. I should use the 'reject' option (doesn't change the problem)
    3. Text::Balanced's extract_tagged works only with xml-like tags (no, it doesn't)
    I'd appreciate it if you could be more verbose about what you mean. Anyway, thanks for the reply.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-04-19 23:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found