Bug 16592 - Syntax error: Too many bracketed closures (limit is 10)
Summary: Syntax error: Too many bracketed closures (limit is 10)
Status: CLOSED FIXED
Alias: None
Product: Regexp
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---
Assignee: Jakarta Notifications Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-30 12:18 UTC by Kai Bartels
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments
proposed patch to RECompiler.java (2.50 KB, patch)
2003-02-03 15:06 UTC, Kai Bartels
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Bartels 2003-01-30 12:18:52 UTC
I'm trying to construct a RE that detects valid date/datetime/time inputs. I
easily hit the above limit in doing so (all brackets needed for grouping!).
Is a hard coded limit really neccessary here?
Pls. remove it or add a parameter the the RE constructor to increase the limit
when neded. Thanx.
Comment 1 Kai Bartels 2003-02-03 15:06:25 UTC
Created attachment 4685 [details]
proposed patch to RECompiler.java
Comment 2 Kai Bartels 2003-02-03 15:07:58 UTC
Ok, had a look myself. The number of {n,m} expressions is limited. I just
attached a patch to this report that works for me.
Comment 3 Vadim Gritsenko 2003-05-02 02:30:57 UTC
patch applied, thanks.
Comment 4 Vadim Gritsenko 2003-05-02 02:31:08 UTC
closed