cleaned up arg-handling for exyus
2007-12-10 @ 01:14#
i did a bit more work to clean up argument handling in the query string for the exyus engine. now, the following argument separators are supported by the exyus engine:
- &
- ,
- ;
i did this by using regular expressions to parse the query string instead of just Split
. now it looks like this:
//string[] arg_set = qs.Split('&'); string[] arg_set = Regex.Split(qs, "[&,;]", RegexOptions.IgnoreCase);
this is the same 'tech' i put together to improve my parsing of the digest header. gives me more flexibility. safer parsing of the line, too.