Subject: Re: [Pharo-project] Regular expression
thanks for the update.
Now may be the problem can be still express with regex.
Stef
On Feb 12, 2012, at 10:49 AM, Lukas Renggli wrote:
VB-Regexp does not support any of the following common regular
expression features: lookahead, lookbehind
http://rmod.lille.inria.fr/pbe2/
https://gforge.inria.fr/scm/viewvc.php/*checkout*/PharoByExampleTwo-Eng/Regex/Regex.pdf?root=pharobooks
I would be surprised that we call a regexp package something that cannot handle
Stef
On Feb 11, 2012, at 11:27 PM, recursiv...@gmail.com wrote:
Hi,
Is it
VB-Regexp does not support any of the following common regular
expression features: lookahead, lookbehind, recursion, multiplicity
ranges, non-greedy quantifier, shy groups, directives, conditionals,
named captures, back references, and comments.
You can (conceptually) do all this with
thanks for the update.
Now may be the problem can be still express with regex.
Stef
On Feb 12, 2012, at 10:49 AM, Lukas Renggli wrote:
VB-Regexp does not support any of the following common regular
expression features: lookahead, lookbehind, recursion, multiplicity
ranges, non-greedy
Yes, in this particular example one can rewrite the expression as
^.*(([a-zA-Z].*[0-9])|([0-9].*[a-zA-Z])).*$
and it (probably) does the same.
However, this cannot be done in a general case, because lookahead are
not part of the (currently) recognizable types of languages with
VB-Regexp. It
Hi,
Is it possible to use the VB-Regexp package to construct a single regular
expression that ensures a string is alphanumeric and contains both at least
one number and alphabetic character.
Looking at the regexp package and documentation it doesn't appear so. In
javascript or perl you use
From: pharo-project-boun...@lists.gforge.inria.fr
[pharo-project-boun...@lists.gforge.inria.fr] on behalf of
recursiv...@gmail.com [recursiv...@gmail.com]
Sent: Saturday, February 11, 2012 5:27 PM
To: pharo-project@lists.gforge.inria.fr
Subject: [Pharo-project] Regular expression
Hi