Vassili's Regex

Ned Konz ned at squeakland.org
Fri Oct 22 16:03:54 UTC 2004


On Wednesday 20 October 2004 7:43 am, Brian Murphy-Dye wrote:
> ' 1' matchesRegex: ' *[0-9]'
> ' 1' matchesRegex: '[\s]*[0-9]'

or, more simply:

' 1' matchesRegex: '\s*[0-9]'

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list