Vassili's Regex
Torsten Bergmann
astares at gmx.de
Wed Oct 20 13:54:28 UTC 2004
Hi,
using the Squeak port of Vassili's Regex code
(http://beta4.com/mc/VB-Regex-avi.2.mcz) I get
'1' matchesRegex: '^[0-9]'
returning true as I expected, but
' 1' matchesRegex: '^[0-9]'
returns false (note the additional space before $1).
Does ^ not mean to skip spaces at the beginning?
Is this a bug in the Squeak port (haven't checked the
VW original).
Thanks
Torsten
--
GMX ProMail mit bestem Virenschutz http://www.gmx.net/de/go/mail
+++ Empfehlung der Redaktion +++ Internet Professionell 10/04 +++
More information about the Squeak-dev
mailing list
|