renggli at gmail.com
Mon Feb 18 23:26:42 UTC 2008
> <biblebook> : (Genesis | Gn | Gen | Exodus | Ex | Leviticus | Lv | Lev
> | Nm | Num | Numbers | Dt | Deuteronomy) \.? \s+ \d+ (\: \d+ (-
> \d+)?)? ;
You should split that huge expression up. Preferably you just keep \.?
\s+ \d+ (\: \d+ (-\d+)?)? as part of the scanner and move the rest
into the parser as literal strings.
This is a problem in Squeak because methods can only have a certain size.
More information about the Squeak-dev