[Cialug] some truth to that

jim kraai jimgkraai at gmail.com
Tue May 20 12:20:08 CDT 2014


sometimes i need to generate test data that will later need to match a
regexp

here are a couple of online tools that take a regexp and generate matching
strings

https://fent.github.io/randexp.js/
http://uttool.com/text/regexstr/default.aspx

of course, all of these things will have lots of limitations considering
the nature of the task

there are other libs to do this in various languages, but they're hard to
find because of the extreme nicheyness

http://regldg.com/
http://search.cpan.org/dist/Regexp-Genex/lib/Regexp/Genex.pm
http://hackage.haskell.org/package/regex-genex-0.2.1 (related to the perl
pkg?)



On Tue, May 20, 2014 at 11:30 AM, David Champion <dchamp1337 at gmail.com>wrote:

> You fail to grasp the ways of the leaning toothpicks, grasshopper.
>
> I don't like regex, would rather use longer but more readable methods.
>
> -dc
>
>
> On Tue, May 20, 2014 at 11:24 AM, jim kraai <jimgkraai at gmail.com> wrote:
>
> > you're right on the money
> >
> > some regex engines even allow in-line comments
> >
> >
> >
> > On Tue, May 20, 2014 at 11:17 AM, Jeffrey Ollie <jeff at ocjtech.us> wrote:
> >
> > > On Tue, May 20, 2014 at 11:07 AM, jim kraai <jimgkraai at gmail.com>
> wrote:
> > > > http://www.commitstrip.com/en/2014/02/page/4/
> > >
> > > Writing regular expressions isn't _that_ hard, especially if you build
> > > them up piece by piece.  Also, a solid understanding of their
> > > limitations is essential.
> > >
> > > --
> > > Jeff Ollie
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>


More information about the Cialug mailing list