Strict Standards: Static function gapiAuthMethod::getMethodName() should not be abstract in /home/zajec/domains/zajec.net/public_html/include/gapi.class.php on line 598

Strict Standards: Static function gapiAuthMethod::getTokenName() should not be abstract in /home/zajec/domains/zajec.net/public_html/include/gapi.class.php on line 605

Warning: Cannot modify header information - headers already sent by (output started at /home/zajec/domains/zajec.net/public_html/include/gapi.class.php:598) in /home/zajec/domains/zajec.net/public_html/modules/TextFiles/controller.php on line 13
Syntax error in perfectly valid regular expression

Bug #224886: Valid RegExp that causes syntax error

Testcase

You should see "Test passed" alert.
If it didn't show up, open Message Console and look for "Inline script compilation error".

Description

This is the code that causes syntax error in Opera Message Console:
var validRegExp = /xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx[y]{2,}z/;
Something in this regexp causes syntax error in Opera.
RegExp itself is valid. It searches for 93 "x", two or more "y" and "z" at the end.

It needs to meet these requirements to cause syntax error: Such error will invalidate whole script block and so can cause serious problems.
diz courtesy of zajec.net