This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 216859 - java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3 C:\Users\jskrivanek\Documents\aaa\aaa.zip=s e p= ^
Summary: java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence n...
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-14 12:43 UTC by Jiri Skrivanek
Modified: 2012-09-03 13:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191530


Attachments
stacktrace (8.95 KB, text/plain)
2012-08-14 12:43 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2012-08-14 12:43:21 UTC
Build: NetBeans IDE Dev (Build EaselCSS-490-on-20120814)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.2-b09, Java(TM) SE Runtime Environment, 1.7.0_06-b22
OS: Windows 7

User Comments:
jskrivanek: To reproduce:
- right-click project node and choose "Save as Template"
- browse fro folder in windows documents folder
- click Finish




Stacktrace: 
java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence near index 3
C:\Users\jskrivanek\Documents\aaa\aaa.zip=s e p=
   ^
   at java.util.regex.Pattern.error(Pattern.java:1924)
   at java.util.regex.Pattern.escape(Pattern.java:2416)
   at java.util.regex.Pattern.atom(Pattern.java:2164)
   at java.util.regex.Pattern.sequence(Pattern.java:2097)
   at java.util.regex.Pattern.expr(Pattern.java:1964)
   at java.util.regex.Pattern.compile(Pattern.java:1665)
Comment 1 Jiri Skrivanek 2012-08-14 12:43:23 UTC
Created attachment 123095 [details]
stacktrace
Comment 2 David Konecny 2012-08-19 23:58:46 UTC
6feb393b9d3b
Comment 3 Quality Engineering 2012-09-03 13:03:06 UTC
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6feb393b9d3b
User: David Konecny <dkonecny@netbeans.org>
Log: #216859 - java.util.regex.PatternSyntaxException: Illegal/unsupported escape sequence
regexp replace is not needed here - use plain text replace