You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by bu...@apache.org on 2002/05/13 18:11:03 UTC

DO NOT REPLY [Bug 7752] - RegularExpression bug using '\s' (whitespace) operator

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7752>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7752

RegularExpression bug using '\s' (whitespace) operator





------- Additional Comments From pavani.mukthipudi@india.sun.com  2002-05-13 16:11 -------
The problem comes when the Regular Expression is created with a "u" option. In
this case, shorthands like \s,\S... are expanded using the Hashtable mappings. 
The 2 Hashtables in Token class (namely, categories and categories2) are not
being initialized(that part of the code has been commented out). This leads to
an NPE.  

A quick solution is to uncomment the initialization part. Can someone comment 
on this ? 

I plan to look into more details later this week.

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-dev-help@xml.apache.org