[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

OT: Regexp buddy

Dark Ambient

7/8/2006 1:06:00 PM

Curious too know if anyone uses or has used the product Regex Buddy ?
It supposedly supports Ruby regexp and is supposed to make the use of
regular expressions a lot easier.
btw, I'm not connected to the software or company but would like to
know how it fits in with Ruby programming.

Stuart

9 Answers

Pete

7/8/2006 1:30:00 PM

0

Dark Ambient schrieb:
> Curious too know if anyone uses or has used the product Regex Buddy ?
> It supposedly supports Ruby regexp and is supposed to make the use of
> regular expressions a lot easier.
> btw, I'm not connected to the software or company but would like to
> know how it fits in with Ruby programming.
>
> Stuart
it's a great tool, I _love_ it...

It prevents you from doing stupid little mistakes that take you hours to
find out...

you can even debug you regex and learn a lot!

ruby (and lot's of other languages / regex flavours) got some decent
support and
you can even create fancy little code snippets with it!

regards
Peter


Dark Ambient

7/8/2006 1:46:00 PM

0

Should have asked this in my original post, but just thought of it.
Does it make a good learning tool for regexp ?

Stuart

On 7/8/06, Pete <pertl@gmx.org> wrote:
> Dark Ambient schrieb:
> > Curious too know if anyone uses or has used the product Regex Buddy ?
> > It supposedly supports Ruby regexp and is supposed to make the use of
> > regular expressions a lot easier.
> > btw, I'm not connected to the software or company but would like to
> > know how it fits in with Ruby programming.
> >
> > Stuart
> it's a great tool, I _love_ it...
>
> It prevents you from doing stupid little mistakes that take you hours to
> find out...
>
> you can even debug you regex and learn a lot!
>
> ruby (and lot's of other languages / regex flavours) got some decent
> support and
> you can even create fancy little code snippets with it!
>
> regards
> Peter
>
>
>

Robert Klemme

7/8/2006 2:05:00 PM

0

2006/7/8, Dark Ambient <sambient@gmail.com>:
> Should have asked this in my original post, but just thought of it.
> Does it make a good learning tool for regexp ?

There's also RegexpCoach
http://weitz.de/re...

Which is free for private or non-commercial use. I think this is a
good tool for learning as you can investigate closely how a regexp
goes about matching text. If RegexpBuddy has similar functionality
then it's probably equally suited to support learning. And then of
course there is http://www.oreilly.com/cata... which is a great
book.

Kind regards

robert

--
Have a look: http://www.flickr.com/photos/fu...

Craig Kim

7/8/2006 3:43:00 PM

0

I can't say that I support RegexBuddy 100%. At a glance, it's a very
powerful and comes with many useful features that appear to be robust. Their
library of regex is quite excellent that you can get a lot of help very
quickly. It can generate Ruby/Perl/Python/Java code to support regular
expressions. However, it has problems dealing with language specific regular
expressions and breaks down when an expression gets a bit complicated. Also,
when I contacted the support, I never hear from them at all! Bottom line: if
you like the features it supports and find them useful, buy it. I think it
provides a great way to learn and experiment. If you're well versed in
regular expressions, it may not help you much. If you're looking for
support, I hope that you have a lot of time and patience!

--Craig

----- Original Message -----
From: "Dark Ambient" <sambient@gmail.com>
To: "ruby-talk ML" <ruby-talk@ruby-lang.org>
Sent: Saturday, July 08, 2006 9:46 AM
Subject: Re: OT: Regexp buddy


> Should have asked this in my original post, but just thought of it.
> Does it make a good learning tool for regexp ?
>
> Stuart
>
> On 7/8/06, Pete <pertl@gmx.org> wrote:
>> Dark Ambient schrieb:
>> > Curious too know if anyone uses or has used the product Regex Buddy ?
>> > It supposedly supports Ruby regexp and is supposed to make the use of
>> > regular expressions a lot easier.
>> > btw, I'm not connected to the software or company but would like to
>> > know how it fits in with Ruby programming.
>> >
>> > Stuart
>> it's a great tool, I _love_ it...
>>
>> It prevents you from doing stupid little mistakes that take you hours to
>> find out...
>>
>> you can even debug you regex and learn a lot!
>>
>> ruby (and lot's of other languages / regex flavours) got some decent
>> support and
>> you can even create fancy little code snippets with it!
>>
>> regards
>> Peter
>>
>>
>>
>
>
>


tony summerfelt

7/10/2006 2:08:00 PM

0

On Sat, 8 Jul 2006 23:04:50 +0900, you wrote:


>There's also RegexpCoach
>http://weitz.de/re...

and redet:

http://billposer.org/Software/...

http://home.cogeco.ca/~ts...
ROVING SWARM: http://groups.yahoo.com/group/rov...
telnet://ventedspleen.dyndns.org

Daniel Martin

7/11/2006 2:52:00 PM

0

Speaking of learning regexps for ruby, is there somewhere a
comprehensive list of just what syntax ruby's regular expression
engine does and doesn't support? I can't find any documentation, for
example, that shows that ruby's regexp engine supports perl's "don't
backtrack" notation (?>pat), but that it does not support the
"look-behind" features found in perl, python, and java's regular
expression engines.

I mean, I suppose I can go and try ever construct mentioned in perlre
in irb and see what happens, but it'd be nice if the documentation
existed somewhere.

Simon Strandgaard

7/11/2006 4:11:00 PM

0

On 7/11/06, Daniel Martin <martin@snowplow.org> wrote:
> Speaking of learning regexps for ruby, is there somewhere a
> comprehensive list of just what syntax ruby's regular expression
> engine does and doesn't support? I can't find any documentation, for
> example, that shows that ruby's regexp engine supports perl's "don't
> backtrack" notation (?>pat), but that it does not support the
> "look-behind" features found in perl, python, and java's regular
> expression engines.
>
> I mean, I suppose I can go and try ever construct mentioned in perlre
> in irb and see what happens, but it'd be nice if the documentation
> existed somewhere.


Have a look here:

http://www.geocities.jp/kosako3/oniguruma/...

--
Simon Strandgaard

Daniel Martin

7/11/2006 6:13:00 PM

0

"Simon Strandgaard" <neoneye@gmail.com> writes:

> Have a look here:
>
> http://www.geocities.jp/kosako3/oniguruma/...

That's nice, but it doesn't document ruby's Regexp engine, at least
not the one in Ruby 1.8.4; the document says:

(?<=subexp) look-behind

But:

irb(main):032:0> Regexp.new('(?<=abc)')
RegexpError: undefined (?...) sequence: /(?<=abc)/
from (irb):32:in `initialize'
from (irb):32
from :0

I suspect that this documents what will be, in the Ruby 2.0 that's
going to have easy built-in support for unicode in all its glory.

That still leaves the current engine undocumented.

Logan Capaldo

7/13/2006 12:25:00 AM

0


On Jul 11, 2006, at 2:12 PM, Daniel Martin wrote:

> "Simon Strandgaard" <neoneye@gmail.com> writes:
>
>> Have a look here:
>>
>> http://www.geocities.jp/kosako3/oniguruma/...
>
> That's nice, but it doesn't document ruby's Regexp engine, at least
> not the one in Ruby 1.8.4; the document says:
>
> (?<=subexp) look-behind
>
> But:
>
> irb(main):032:0> Regexp.new('(?<=abc)')
> RegexpError: undefined (?...) sequence: /(?<=abc)/
> from (irb):32:in `initialize'
> from (irb):32
> from :0
>
> I suspect that this documents what will be, in the Ruby 2.0 that's
> going to have easy built-in support for unicode in all its glory.
>
> That still leaves the current engine undocumented.
>

Section A-4 of the above document tells you the differences between
the new regexp engine and the current one. You could do a mental diff
<g>