Hi!

----

I've been trying to escape a '+' character in an extended regular
pattern but somehow fail to get it working:
-- snip --
$ ksh93 -c 'a="a+a" ; [[ "$a" == ~(E)a+a ]] && print
ok'                                                           
$ ksh93 -c 'a="a+a" ; [[ "$a" == ~(E)a\+a ]] && print
ok'                                                          
$ ksh93 -c 'a="a+a" ; [[ "$a" == ~(E)a\\+a ]] && print ok'
-- snip --

Using ~(G) as workaround seems to work in this case but I need ~(E)
patterns in this case... ;-(

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [email protected]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to