Friday afternoon blag fest
Pedro Figueiredo
me at pedrofigueiredo.org
Fri Sep 21 16:46:39 BST 2007
On 21/09/2007, Chris Jack <chris_jack at msn.com> wrote:
> What's the longest regular expression anyone's ever written? Choose your own criteria for longest (e.g. #lines, #characters) although I suspect pitifully slow might get less respect from the audience....
>
when i switched to perl i was amazed by the power of its regexps, so i
tried to do everything using them (c.f. jwz).
i remember some very ugly stuff to parse squid logs and to
automatically generate router configurations and xfig diagrams based
on router interfaces, but merely at around 200 characters, nothing
like what's been sent so far. in my defense, though, each of them was
lovingly hand-crafted.
cheers,
pedro
--
http://pedrofigueiredo.org/
"you don't code php. you merely edit it until it works." - merlyn
More information about the london.pm
mailing list