| Summary: | Regex search exception for invalid regular expression | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Silenio Quarti <Silenio_Quarti> |
| Component: | Editor | Assignee: | Project Inbox <orion.editor-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | ahunter.eclipse |
| Version: | 0.4 | ||
| Target Milestone: | 4.0 M2 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Silenio Quarti
I am not seeing this exception in I20130526-2230 Still happens in latest. Uncaught SyntaxError: Invalid regular expression: /\/: \ at end of pattern textModel.js:120 TextModel.find textModel.js:120 Find._doFind find.js:447 Find.find find.js:227 objects.mixin._handleInput textSearcher.js:182 _commandService.openParameterCollector.searchStringInput.oninput textSearcher.js:81 The error message is reported to the user now instead of the console. Fixed http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=c611975b3b887f30ca6974f6ed18cbf8995d1ac5 |