[Tutor] Failing regex to identify error stack
Asad
asad.hasan2004 at gmail.com
Fri Sep 20 04:09:52 EDT 2019
Hi All ,
I am writing a script in python to read a logfile and identify the first
error stack :
?/test/admin/nothing.sql
PL/SQL procedure successfully completed.
Session altered.
Package created.
Session altered.
Session altered.
Package body created.
No errors.
Session altered.
PL/SQL procedure successfully completed.
ERROR at line 9:
Fal-11144: size of object not allowed
I am trying to use the following regex :
^.*/test/admin/.*(?=ERROR at line .*)(?=Fal-.*)
using lookahead because seems in regex there is no && operator
Please advice .
Thanks,
--
Asad Hasan
+91 9582111698
More information about the Tutor
mailing list