I am trying to extract "xvar" from a string like $a="la la la set /Y xvar= yval".- the switch /y can exist or not.
$a=~s#.*[Ss][Ee][Tt]\s+(\/\w?)\s+(\w+)=.*#$1#; Why doesn't this get "xvar" from $a ? Thank you for participation, Florentin. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]