Ticket #18 (closed bug: implemented)
escapex() misinterprets commas
| Reported by: | cary | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.9.1 alpha 1 |
| Component: | rhostmush | Version: | 3.9.1 alpha |
| Severity: | bug | Keywords: | |
| Cc: |
Description
escapex() counts commas as argument separaters but should only do this for the last comma.
The example in the help:
> say escapex(Hey, Sneak a peak at Wiz's desc... [get($1/desc)],\[\]) You say "\Hey \,Sneak a peek at Wiz's desc... [get\(#1/desc\)]"
actually produces:
say escapex(Hey, Sneak a peak at Wiz's desc... [get($1/desc)],\[\]) You say "#-1 FUNCTION (ESCAPEX) EXPECTS 1 OR 2 ARGUMENTS [RECEIVED 3]"
Change History
Note: See
TracTickets for help on using
tickets.
