18 January 2026:


This forum is now archived and is in read-only mode. Please continue discussions on our improved new Sahi Pro Community forum.



Sahi Pro is an enterprise grade test automation platform which can automate web, mobile, API, windows and java based applications and SAP.

Escaping special characters in regular expression using QuotE not working

JinjuJinju Members
edited June 2014 in Sahi - Open Source
In Java regex, \Q \E could be used to escape all the special characters contained within \Q and \E. e.g. I could have a regular expression /\QAll/slashes/instead/of/space\E/ will escape all the forward slashes within \Q and \E thereby making it easy for me not to escape each forward slash. This however is not working in Sahi when checked in Sahi Controller. Does someone know what could be the possible reason.

Best Answer

  • edited June 2014 Answer ✓
    So, do you write your tests in Java or Sahi Script/Javascript?

    It my be that this feature is not supported by Rhino.
Sign In or Register to comment.