Re: [Pharo-users] [Pharo-dev] [ANN] Regex Tester Tool for Pharo

2017-03-04 Thread stepharong


And I think that his remark makes sense. I was wondering if we should  
not ressurect
the RePlugin to make sure that users can use perlish regexp and do  
not feel that our world is strange.


+1



+23

I've been using regexes casually for years and yet every time I use  
them in Pharo I have to open the help and end up using PetitParser or  
parsing it manually anyway…



Which are good reasons not to improve regex support ;)


Norbert

I (would love to have a full version in Pharo - you know me on that).
Now I do not know if we can change the regexp package to actually accept  
Perl or other more standard

syntax and there is no maintainer of the regexp package.
And it will be slower (of course we have to maintain a binding to a  
C-libraries).

So you see I'm getting wiser with age :)
Now if you tell me that you want to get the regexp package to accept  
perlish expressions - I sign :)


Stef



Re: [Pharo-users] [Pharo-dev] [ANN] Regex Tester Tool for Pharo

2017-03-02 Thread Norbert Hartl

> Am 02.03.2017 um 09:54 schrieb Peter Uhnak :
> 
> On Thu, Mar 02, 2017 at 09:20:12AM +0100, Esteban Lorenzano wrote:
>> 
>>> On 1 Mar 2017, at 22:40, stepharong  wrote:
>>> 
>>> 
>>> And I think that his remark makes sense. I was wondering if we should not 
>>> ressurect
>>> the RePlugin to make sure that users can use perlish regexp and do not feel 
>>> that our world is strange.
>> 
>> +1
>> 
> 
> +23
> 
> I've been using regexes casually for years and yet every time I use them in 
> Pharo I have to open the help and end up using PetitParser or parsing it 
> manually anyway…
> 
Which are good reasons not to improve regex support ;)

Norbert


Re: [Pharo-users] [Pharo-dev] [ANN] Regex Tester Tool for Pharo

2017-03-02 Thread Peter Uhnak
On Thu, Mar 02, 2017 at 09:20:12AM +0100, Esteban Lorenzano wrote:
> 
> > On 1 Mar 2017, at 22:40, stepharong  wrote:
> > 
> > 
> > And I think that his remark makes sense. I was wondering if we should not 
> > ressurect
> > the RePlugin to make sure that users can use perlish regexp and do not feel 
> > that our world is strange.
> 
> +1
>

+23

I've been using regexes casually for years and yet every time I use them in 
Pharo I have to open the help and end up using PetitParser or parsing it 
manually anyway...

PeterParser :)



Re: [Pharo-users] [Pharo-dev] [ANN] Regex Tester Tool for Pharo

2017-03-02 Thread Esteban Lorenzano

> On 1 Mar 2017, at 22:40, stepharong  wrote:
> 
> 
> And I think that his remark makes sense. I was wondering if we should not 
> ressurect
> the RePlugin to make sure that users can use perlish regexp and do not feel 
> that our world is strange.

+1



Re: [Pharo-users] [Pharo-dev] [ANN] Regex Tester Tool for Pharo

2017-03-01 Thread stepharong

Torsten

Olivier in our team that is perl freaks from time to time, told me that  
this is

sad that Pharo regexp are not compatible with the "standard" = rePlugin.

And I think that his remark makes sense. I was wondering if we should not  
ressurect
the RePlugin to make sure that users can use perlish regexp and do not  
feel that our world is strange.


Do you have experience with re in the past?
What do you think about this proposal?

Stef


Hi,

I wrote a little tool to test regular expressions and verify that
given samples match it. It also helps to divide an expression into
subexpressions to retrieve parts of a matched string.

Screenshot is attached. Code, load instructions and full tutorial
on how to use it is on https://github.com/astares/Pharo-Regex-Tools

Hope it is useful for others too. Have fun!

Bye
T.



--
Using Opera's mail client: http://www.opera.com/mail/