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.