Live data from Hacker News

Rubular - a Ruby regular expression editor

rubular.com

21–30 of 41 posts

Re: Rubular - a Ruby regular expression editor

#21
Rubular is great. The only thing preventing it from being a 'one stop shop' for learning regular expressions is that it omits describing in the notes below some functionality (eg. the "?" shown in the example). http://rubyxp.com/ is better for these descriptions.

Re: Rubular - a Ruby regular expression editor

#22
post #10
post #8

I love rubular too. Question though... Why isn't it open source?

What would be gained if it were? I suppose you could run it locally. Come to think of it, that would be nice.

- Yes, run it locally. (Sometimes I want to test against sensitive information)

- Learn how a regex editor is built.

- Use a different regex engine (is that possible to swap)? [1]

I'm sure there are more reasons.

1 http://en.wikipedia.org/wiki/Comparison_of_regular_expressio...

Re: Rubular - a Ruby regular expression editor

#23
post #20

I also like using http://www.gskinner.com/RegExr/ Which I think is Flash/Flash Air... Being able to permalink (which Rubular also does) to examples is a killer feature..I keep trying to convince non-programmers who work with data that they should at least learn regexes to make their life easier

[deleted]

Re: Rubular - a Ruby regular expression editor

#24
post #20

I also like using http://www.gskinner.com/RegExr/ Which I think is Flash/Flash Air... Being able to permalink (which Rubular also does) to examples is a killer feature..I keep trying to convince non-programmers who work with data that they should at least learn regexes to make their life easier

Flash uses Perl Compatible Regular Expression Engine (PCRE) http://www.pcre.org/

Ruby uses Oniguruma http://www.geocities.jp/kosako3/oniguruma/

While the average regex will probably work on both, you should know there isn't a 1:1 correlation between the two.

Re: Rubular - a Ruby regular expression editor

#28
post #26

And this is why hacker news is terrible.

You aren't making it better. Karma: 11 / 663 days old http://news.ycombinator.com/user?id=rross0227

What does that have to do with it?

Adding more quality submissions or comments wouldn't have prevented this submission from being upvoted.

Re: Rubular - a Ruby regular expression editor

#30
post #22
post #10

Earlier quoted context omitted.

What would be gained if it were? I suppose you could run it locally. Come to think of it, that would be nice.

- Yes, run it locally. (Sometimes I want to test against sensitive information) - Learn how a regex editor is built. - Use a different regex engine (is that possible to swap)? [1] I'm sure there are more reasons. 1 http://en.wikipedia.org/wiki/Comparison_of_regular_expressio...

as for [1] yes, you're just unable to use ruby's syntax.

Oniguruma (regex engine in ruby1.9) existed as an external library in the past (1.8) and you can get stuff like re2 for ruby this days[1]

[1] https://github.com/mudge/re2

Post reply on HN