Regular expression sandboxing - Gareth Heyes

Courtesy Planet PHP  Wed, 05/05/2010 - 07:15

Birth of the regex sandbox

I decided today to do a proper blog post to explain my reasons for creating regex sandboxes.

I don’t often write a lot of words on this blog partly because I’m not very good a making long meaningful sentences and partly because I think the point can often be made in less words.

Hopefully this will be useful for someone writing filters.

First off a quote “You can’t parse [X]html with regex.

Because html...


 

More related items

Firefox 9 released, JavaScript performance improved...
Ahead of an official release tomorrow, Firefox 9 has winged its way to various mirrors across the web and is now available to download from the official Firefox website — no messing...

Mozilla’s WebAPI for Firefox takes shape, porn...
The first fruits of Mozilla’s attempt to make a Chrome OS-like Firefox operating system — Boot 2 Gecko — are now beginning to take shape in the Nightly builds of Firefox for...

Mozilla puts Firefox on a memory diet
Firefox’s single largest consumer of RAM, its JavaScript engine SpiderMonkey, is going on the mother of all diets. At any one time, SpiderMonkey’s memory footprint can be over...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com