in reply to Text::Balanced not extracting
You need to specify a prefix.
Change
extract_bracketed($text,'()')to
extract_bracketed($text,'()', '%%% rick ran errands . sem')and you'll get your expected output.
This is explained in the Text::Balanced documentation.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Text::Balanced not extracting
by cormanaz (Deacon) on Oct 16, 2010 at 22:35 UTC | |
by kcott (Archbishop) on Oct 16, 2010 at 22:52 UTC |