good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: Tk text widget indices.by meredith (Friar) |
on Jul 16, 2003 at 13:41 UTC ( [id://274813]=note: print w/replies, xml ) | Need Help?? |
Hrm, why arent you using regexes? I'm no master, but I think this will help: m|\*\*(\w+)\b|g If you have all the text in a scalar, you can do this: Is this what you want? Or was there some reason you're using TK's functions?? HTH Update: explanation of regex In case you're not familar with regexes, run this: perldoc perlretut :) mhoward - at - hattmoward.org
In Section
Seekers of Perl Wisdom
|
|