# config.w32 quirk

- Thread: https://externals.io/message/25354
- Original archive: https://news-web.php.net/php.internals/25354
- Started by Frank M. Kromann on 2006-08-14T20:22:00+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #25354 — Frank M. Kromann — 2006-08-14T20:22:00+00:00

URL: https://externals.io/message/25354#25354

For some reason it needs to be

re = new RegExp("^\\s*(ARG_(ENABLE|WITH)\([^;]+\);)", "gm");

But that will work.

- Frank

> Frank M. Kromann wrote:
> > […]
to
> > […]
> 
> No need for such a requirement. I don't know whether the JS regex is
> PCRE or not, but I believe something like this will solve that issue...
> 
> re = new RegExp("^\s*(ARG_(ENABLE|WITH)\([^;]+\);)", "gm");
> 
> -Stut
