[pmwiki-devel] Parse Args and hyphens...
The Editor
editor at fast.st
Thu May 17 13:26:38 CDT 2007
On 5/17/07, Patrick R. Michaud <pmichaud at pobox.com> wrote:
> ParseArgs allows an extra parameter that specifies the pattern used
> to parse options. The default is '(?>(\w+)[:=])'. If you want to
> expand this to allow hyphens, it would probably be
>
> $args = ParseArgs($str, '(?>(\\w[-\\w]*)[:=])');
>
> Pm
Thank you, thank you! Works wonderful!
Cheers,
Dan
More information about the pmwiki-devel
mailing list