darkphase / klish

Tool for Implementing Custom Shells

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pattern acts wrong when parameter has "|" symbol

GoogleCodeExporter opened this issue · comments


1.I have COMMAND "cmd <VAL>" with CONFIG with pattern="^${__line}$"
   VAL has ptype: pattern="^(!?[^`]+)$"
2.Trying this: cmd |abcd|, or anything with VAL containing symbol "|"
3.In running-config this cmd always replace any "cmd ..." commands. In other 
words it acts like as command with pattern="^cmd "

Please, help!!! What should i do to overcome this strange situation?

Original issue reported on code.google.com by jkt...@gmail.com on 20 Feb 2013 at 2:33