[squeak-dev] [Q] Regex seems do not works as should be
Edgar J. De Cleene
edgardec2005 at gmail.com
Mon Aug 8 11:58:25 UTC 2011
I trying to do some HTML parsing using examples on
http://www.regular-expressions.info/examples.html, but gives me errors.
Also, using the single <.*> and
Transcript clear.
self regex: '<.+>' matchesDo: [: ea| Transcript show: ea ;cr. self halt]
Here self is a string and ea in Transcript show long lines and not the
short ones Bbedit shows as Grep.
Any clues ? Best examples i should look at ?
Edgar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20110808/05e0f569/attachment.htm
More information about the Squeak-dev
mailing list
|