regular expression

Dustan DustanGroups at gmail.com
Mon Dec 25 10:44:47 EST 2006


deviantbunnylord at gmail.com wrote:
> Rad [Visual C# MVP] wrote:
> > On Sun, 24 Dec 2006 16:36:31 +0100, Stef Mientki wrote:
> >
> > > Dustan wrote:
> > >> Kleine Aap wrote:
> > >>> Asper Faner wrote:
> > >>>
> > >>>> I seem to always have hard time understaing how this regular expression
> > >>>> works, especially how on earth do people bring it up as part of
> > >>>> computer programming language. Natural language processing seems not
> > >>>> enough to explain by the way. Why no eliminate it ?
>
> Hi folks, fairly new to the list(Python is my first programming
> language, so I'm fairly new to the world of programming too)but this is
> a question I've been wondering about since I started learning about the
> re module. Are regular expressions what makes mark up languages
> interpretable by webbrowsers?

I don't actually know the answer, but my educated guess:

Regular expressions are just the simplest way to parse any text, but
there are other ways. Webbrowsers most likely depend on regular
expressions just because it's a relatively quick and easy way to
interpret the language.




More information about the Python-list mailing list