Bret wrote
> You can also just use Regexp.escape() in IRB to see what would be
> "escaped" and therefore what special characters are in your string.
> irb> Regexp.escape "javascript:PC_7_0_G6_selectTerritory('1',%20'select')
"
> => "javascript:PC_7_0_G6_selectTerritory\\('1',%20'select'\\)"
Nice. I'll put it in the Watir FAQ's today. Any idea why we are given two
escape slashes, instead of one?
Might write a little compare between Java\Rational Functional Tester regex
v Ruby\Watir.
aidy
---------------------------------------------------------------------------------------------------------------
This message and any attachment are confidential and may be privileged or
otherwise protected from disclosure.
If you are not the intended recipient, please telephone or email the sender and
delete this message and any attachment from your system.
If you are not the intended recipient you must not copy this message or
attachment or disclose the contents to any other person.
---------------------------------------------------------------------------------------------------------------
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general