Regex regression?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Regex regression?

Schwab,Wilhelm K
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


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Regex regression?

Mariano Martinez Peck


On Fri, Jan 15, 2010 at 4:42 PM, Schwab,Wilhelm K <[hidden email]> 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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Regex regression?

Schwab,Wilhelm K
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: [hidden email] [mailto:[hidden email]] On Behalf Of Mariano Martinez Peck
Sent: Friday, January 15, 2010 10:53 AM
To: [hidden email]
Cc: Lukas Renggli
Subject: Re: [Pharo-project] Regex regression?



On Fri, Jan 15, 2010 at 4:42 PM, Schwab,Wilhelm K <[hidden email]> 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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Regex regression?

Levente Uzonyi-2
In reply to this post by Schwab,Wilhelm K
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
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Regex regression?

Lukas Renggli
In reply to this post by Schwab,Wilhelm K
> 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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Regex regression?

Mariano Martinez Peck
Thanks Lukas and Levente.

Dale, can we update this?

Cheers

Mariano

On Fri, Jan 15, 2010 at 5:37 PM, Lukas Renggli <[hidden email]> 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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Regex regression?

Schwab,Wilhelm K
In reply to this post by Lukas Renggli
It's not my code - it's from ConfigurationOfSeaside28.
 




-----Original Message-----
From: [hidden email] [mailto:[hidden email]] On Behalf Of Lukas Renggli
Sent: Friday, January 15, 2010 11:38 AM
To: [hidden email]
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
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project