chkal/pf-issue-test — Issue #92: Using curly quantifiers in custom-regexes causes parsing failure
Author: chkal
Created: 2012-03-06 07:33:10+00:00
State: open

Originally filed by **lincolnb...@gmail.com** on 2011-03-01T18:01:07

Google Code issue: http://code.google.com/p/prettyfaces/issues/detail?id=94

This test fails but should pass.

@Test
public void testNoLeadingSlashWithSingleParameter() throws Exception
{
URLPatternParser parser = new URLPatternParser("#{ /faqs(/indice/[0-9]{1,2})?/ menuController.faqsindice}/");
List params = parser.parse(new URL("faqs/"));
}