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.

Back word compatibility with regular expression parsing with SAHI V3.5

Akss004Akss004 Members
edited November -1 in Sahi - Open Source
Akss004 wrote:
Hi Narayan,

Original Element:-

_span("03/01/2011 11:00:00 PM - 04/01/2011 11:00:00 PM - 0")

We were using following regular expression with SAHI's previous version.

_exists(_span("/03/01/2011 11:00:00.*04/01/2011 11:00:00.*/"));

and that was working fine.

And the same is not working with this new version and we have also tried with

_exists(_span("/03\/01\/2011 11:00:00.*04\/01\/2011 11:00:00.*/"));


and its still not working. Its giving some syntax error which means regular expression is not proper in above line.

ERROR:- [Exception] SyntaxError: missing ; before statement

Hi Narayan,

Any update on this i have make sure that its working with older version either that was bug in previous version or something else......

But with current version i am not able to use any kind of regular expression in above mention scenario.

After checking and refactoring my test scripts the situation is like that i have to stuck with older version for this single thing only.

Can you help with some patch which provides me back word compatibility in new version of sahi for this regular expression stuff???
Sign In or Register to comment.