Re: Regular expression use

2007-08-25 Thread anno4000
John W. Krahn <[EMAIL PROTECTED]> wrote in comp.lang.perl.misc: > Nick Maclaren wrote: > > In article <[EMAIL PROTECTED]>, > > Mirco Wahab <[EMAIL PROTECTED]> writes: > > |> > > |> Using complex regular expressions is like tank destruction > > |> with contact charges glued on them. Only a few peo

Re: Regular expression use

2007-08-25 Thread John W. Krahn
Nick Maclaren wrote: > In article <[EMAIL PROTECTED]>, > Mirco Wahab <[EMAIL PROTECTED]> writes: > |> > |> Using complex regular expressions is like tank destruction > |> with contact charges glued on them. Only a few people > |> will even survive the first "usage", but survivors will > |> then e

Re: Regular expression use

2007-08-25 Thread Josef Moellers
Nick Maclaren wrote: > For reasons that I won't explain, as they are too complicated > and not terribly relevant, I am interested in discovering what > people actually use regular expressions for. Not the subject > domain, but the construction of the regular expressions. > > I know about computer

Re: Regular expression use

2007-08-24 Thread Bruno Desthuilliers
Nick Maclaren a écrit : > For reasons that I won't explain, as they are too complicated > and not terribly relevant, I am interested in discovering what > people actually use regular expressions for. Usually, to obfuscate code. Sometimes for good reasons Hu ? Ok, me get out >[] -- http:

Re: Regular expression use

2007-08-24 Thread garage
I work in print (book) production and i regularly use regular expressions to parse .eps (encapsulated postscript) files for incorrect specifications (8-bit vs. ASCII, etc), bad fonts and the like. Just to ensure that what's been submitted to me will actually end up on the page. -- http://mail.py

Re: Regular expression use

2007-08-24 Thread Wildemar Wildenburger
Simon Brunning wrote: > On 24 Aug 2007 10:58:46 GMT, Nick Maclaren <[EMAIL PROTECTED]> wrote: > >> For reasons that I won't explain, as they are too complicated >> and not terribly relevant, I am interested in discovering what >> people actually use regular expressions for. >> > > http://xk

Re: Regular expression use

2007-08-24 Thread Simon Brunning
On 24 Aug 2007 10:58:46 GMT, Nick Maclaren <[EMAIL PROTECTED]> wrote: > > For reasons that I won't explain, as they are too complicated > and not terribly relevant, I am interested in discovering what > people actually use regular expressions for. http://xkcd.com/208/ -- Cheers, Simon B. [EMAIL

Re: Regular expression use

2007-08-24 Thread brad
Nick Maclaren wrote: > For reasons that I won't explain, as they are too complicated > and not terribly relevant, I am interested in discovering what > people actually use regular expressions for. Finding credit card numbers in files...among other things: http://filebox.vt.edu/users/rtilley/publi

Re: Regular expression use

2007-08-24 Thread Larry W. Virden
On Aug 24, 6:58 am, [EMAIL PROTECTED] (Nick Maclaren) wrote: > I am interested in discovering what > people actually use regular expressions for. Hmm - let's see. I tend to use regular expressions when I am writing code that needs to search through output to find certain patterns. I also use them

Re: Regular expression use

2007-08-24 Thread A.T.Hofkamp
On 2007-08-24, Nick Maclaren <[EMAIL PROTECTED]> wrote: > people actually use regular expressions for. Not the subject > domain, but the construction of the regular expressions. This is easy. I use RE for checking whether some input matches a certain pattern, and optionally, to extract some speci

Re: Regular expression use

2007-08-24 Thread Nick Maclaren
In article <[EMAIL PROTECTED]>, Mirco Wahab <[EMAIL PROTECTED]> writes: |> |> Using complex regular expressions is like tank destruction |> with contact charges glued on them. Only a few people |> will even survive the first "usage", but survivors will |> then eventually be able to destroy almos

Re: Regular expression use

2007-08-24 Thread Aahz
In article <[EMAIL PROTECTED]>, Nick Maclaren <[EMAIL PROTECTED]> wrote: > >For reasons that I won't explain, as they are too complicated >and not terribly relevant, I am interested in discovering what >people actually use regular expressions for. Not the subject >domain, but the construction of t

Re: Regular expression use

2007-08-24 Thread Mirco Wahab
Nick Maclaren wrote: > For reasons that I won't explain, as they are too complicated > and not terribly relevant, I am interested in discovering what > people actually use regular expressions for. Not the subject > domain, but the construction of the regular expressions. After I figured out how t

Re: Regular expression use

2007-08-24 Thread Bert Heymans
Nick, In "Mastering Regular Expressions" by Jeffrey E. F. Friedl your question is answered in the first 6 chapters. Seriously, that's what it takes. It's a really good book. Cheers Bert On Aug 24, 12:58 pm, [EMAIL PROTECTED] (Nick Maclaren) wrote: > For reasons that I won't explain, as they are

Re: Regular expression use

2007-08-24 Thread Zara
On 24 Aug 2007 10:58:46 GMT, [EMAIL PROTECTED] (Nick Maclaren) wrote: > >For reasons that I won't explain, as they are too complicated >and not terribly relevant, I am interested in discovering what >people actually use regular expressions for. Not the subject >domain, but the construction of the

Re: Regular expression use

2007-08-24 Thread anno4000
Nick Maclaren <[EMAIL PROTECTED]> wrote in comp.lang.perl.misc: > > For reasons that I won't explain, as they are too complicated > and not terribly relevant, Your reasons are relevant as a motivation for your readers to answer such a broad question. > I am interested in discovering what > peopl

Regular expression use

2007-08-24 Thread Nick Maclaren
For reasons that I won't explain, as they are too complicated and not terribly relevant, I am interested in discovering what people actually use regular expressions for. Not the subject domain, but the construction of the regular expressions. I know about computer scientists and parsing, and I k