RegEx auto-builder

From: Peter (BOUGHTONP) 7 Aug 2008 14:21
To: ALL1 of 9
I'm thinking of writing something that will accept a series of example texts and work out the common elements in order to build suitable Regular Expression(s) that will match all the examples.

Not identified a need for it, but it sounds like a fun thing to do. :)

So yeah, does anyone know of any tools that already do this? (Especially Open Source ones, so I can look at their code).
From: 99% of gargoyles look like (MR_BASTARD) 7 Aug 2008 18:42
To: Peter (BOUGHTONP) 2 of 9
You have a strange concept of 'fun'.
From: af (CAER)10 Aug 2008 13:31
To: 99% of gargoyles look like (MR_BASTARD) 3 of 9
I think he uses the word "fun" like we use the word "interesting".
From: Peter (BOUGHTONP)10 Aug 2008 19:04
To: af (CAER) 4 of 9
:S How do you use the word interesting?
From: af (CAER)10 Aug 2008 19:39
To: Peter (BOUGHTONP) 5 of 9

Something that stimulates my mind and makes me want to learn more.

 

Programming is interesting.

 

Rollercoasters are fun.

From: Peter (BOUGHTONP)10 Aug 2008 19:51
To: af (CAER) 6 of 9
Oh, well I think we use both words the same way then. :D
From: Dan (HERMAND)17 Aug 2008 18:20
To: af (CAER) 7 of 9
I'd have to argue that anything you choose to pursue out of interest would have to be in some way, to you, fun. Fun in a specific (and kind of sad) way, admittedly, but I'd say fun nonetheless.
From: af (CAER)18 Aug 2008 12:24
To: Dan (HERMAND) 8 of 9
I dunno, I tend to think of "fun" as something that makes you happy but that also has an element of excitement to it.
From: Mikee18 Aug 2008 12:32
To: ALL9 of 9
I find some coding exciting :-$