Author: ssthkjer Date: 2007-01-24 11:02:34 +0100 (Wed, 24 Jan 2007) New Revision: 4370
Modified: trunk/query-api/src/main/javacc/QueryParserImpl.jj Log: https://jira.sesam.no/jira/browse/SEARCH-739 Modified: trunk/query-api/src/main/javacc/QueryParserImpl.jj =================================================================== --- trunk/query-api/src/main/javacc/QueryParserImpl.jj 2007-01-24 09:46:22 UTC (rev 4369) +++ trunk/query-api/src/main/javacc/QueryParserImpl.jj 2007-01-24 10:02:34 UTC (rev 4370) @@ -113,7 +113,7 @@ // Very generic to match any Internation Phone Number !! // TODO deal with optional area codes. eg australian numbers can be written (02) 4878 9336 <DEFAULT,URL_DISABLED,EMAIL_DISABLED,QUOTED_WORD_DISABLED> -TOKEN : { <PHONE_NUMBER: (("+"|"00"(<PHONE_MIDDLE>)?)?(<DIGIT>(<PHONE_MIDDLE>)?){7,14})" "> } +TOKEN : { <PHONE_NUMBER: (("+"|"00"(<PHONE_MIDDLE>)?)?(<DIGIT>(<PHONE_MIDDLE>)?){5,14})" "> } // Also prevent organisation numbers when phone numbers are disabled. Prevents a cyclic loop. <DEFAULT,URL_DISABLED,EMAIL_DISABLED,PHONE_NUMBER_DISABLED,QUOTED_WORD_DISABLED> _______________________________________________ Kernel-commits mailing list [email protected] http://sesat.no/mailman/listinfo/kernel-commits
