[Pharo-project] Regex regression?
A lot is happening, so I could be off here. In the 10496 web image, I noted that there might be problems with the regex package. Now trying to build a new image I hit a walkback over '*username*' asRegex Any other takers? I am seeing this problem in both 10496 and the new RC1 on the download page. Bill
On Fri, Jan 15, 2010 at 4:42 PM, Schwab,Wilhelm K <bschwab@anest.ufl.edu>wrote:
A lot is happening, so I could be off here. In the 10496 web image, I noted that there might be problems with the regex package. Now trying to build a new image I hit a walkback over
'*username*' asRegex
Any other takers? I am seeing this problem in both 10496 and the new RC1 on the download page.
Yes!!! Is the same error I saw trying to install Seaside2.8 as it uses exatly that I already contact Dale few days ago to see if he could look at it. Lukas ? Cheers Mariano
Bill
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Installing Seaside is how I hit it also. I also _suspect_ something wrong elsewhere. I use SIF to get my code out of Dolphin and into Pharo. Between those steps, I edit the "raw SIF" and began using regex for the task. It's not going well lately, and this increases my suspicion that it is not my doing. I will try to capture what I did as a test case. Bill ________________________________ From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Mariano Martinez Peck Sent: Friday, January 15, 2010 10:53 AM To: Pharo-project@lists.gforge.inria.fr Cc: Lukas Renggli Subject: Re: [Pharo-project] Regex regression? On Fri, Jan 15, 2010 at 4:42 PM, Schwab,Wilhelm K <bschwab@anest.ufl.edu<mailto:bschwab@anest.ufl.edu>> wrote: A lot is happening, so I could be off here. In the 10496 web image, I noted that there might be problems with the regex package. Now trying to build a new image I hit a walkback over '*username*' asRegex Any other takers? I am seeing this problem in both 10496 and the new RC1 on the download page. Yes!!! Is the same error I saw trying to install Seaside2.8 as it uses exatly that I already contact Dale few days ago to see if he could look at it. Lukas ? Cheers Mariano Bill _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr<mailto:Pharo-project@lists.gforge.inria.fr> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Fri, 15 Jan 2010, Schwab,Wilhelm K wrote:
A lot is happening, so I could be off here. In the 10496 web image, I noted that there might be problems with the regex package. Now trying to build a new image I hit a walkback over
'*username*' asRegex
No wonder, this expression is invalid. If this is from some old code, then probably it's a result of half backed migration from #match:. If it's your code, then try '.*username.*' asRegex. Levente
Any other takers? I am seeing this problem in both 10496 and the new RC1 on the download page.
Bill
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
A lot is happening, so I could be off here. Â In the 10496 web image, I noted that there might be problems with the regex package. Â Now trying to build a new image I hit a walkback over
 '*username*' asRegex
There are quite a few unresolved bugs in the regexp engine, but this is definitely not one of them. The problem is that this is not a valid regular expression. See the wikipedia article for a general description (<http://en.wikipedia.org/wiki/Regular_expression>) or the documentation on the class side of RxParser for a specific description of the Smalltalk implementation. Your code looks more like a String>>#match: pattern. Lukas -- Lukas Renggli http://www.lukas-renggli.ch
Thanks Lukas and Levente. Dale, can we update this? Cheers Mariano On Fri, Jan 15, 2010 at 5:37 PM, Lukas Renggli <renggli@gmail.com> wrote:
A lot is happening, so I could be off here. In the 10496 web image, I noted that there might be problems with the regex package. Now trying to build a new image I hit a walkback over
'*username*' asRegex
There are quite a few unresolved bugs in the regexp engine, but this is definitely not one of them.
The problem is that this is not a valid regular expression. See the wikipedia article for a general description (<http://en.wikipedia.org/wiki/Regular_expression>) or the documentation on the class side of RxParser for a specific description of the Smalltalk implementation.
Your code looks more like a String>>#match: pattern.
Lukas
-- Lukas Renggli http://www.lukas-renggli.ch
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
It's not my code - it's from ConfigurationOfSeaside28. -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Lukas Renggli Sent: Friday, January 15, 2010 11:38 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Regex regression?
A lot is happening, so I could be off here. Â In the 10496 web image, I noted that there might be problems with the regex package. Â Now trying to build a new image I hit a walkback over
 '*username*' asRegex
There are quite a few unresolved bugs in the regexp engine, but this is definitely not one of them. The problem is that this is not a valid regular expression. See the wikipedia article for a general description (<http://en.wikipedia.org/wiki/Regular_expression>) or the documentation on the class side of RxParser for a specific description of the Smalltalk implementation. Your code looks more like a String>>#match: pattern. Lukas -- Lukas Renggli http://www.lukas-renggli.ch _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (4)
-
Levente Uzonyi -
Lukas Renggli -
Mariano Martinez Peck -
Schwab,Wilhelm K