[pmwiki-devel] Parse Args and hyphens...
christian.ridderstrom at gmail.com
christian.ridderstrom at gmail.com
Thu May 17 11:40:34 CDT 2007
On Thu, 17 May 2007, The Editor wrote:
> I've noticed if I try and use parseargs on something like
>
> test='blue' test-one='green' test_two='red'
>
> The first and third will work, but the second fails. The hyphen in the
> parameter name blocks ParseArgs from seeing it as a parameter name.
>
> Is there a reason for it? Could the function be adapted on a custom
> basis to allow this?
I'm pretty sure you can adjust the pattern to allow a hyphen in the name,
but Patrick is the guy to ask.
/C
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
More information about the pmwiki-devel
mailing list