Cross-posted to the ANTLR mailing list, and got an answer! https://groups.google.com/g/antlr-discussion/c/tA6HG-CtaJs
TL;DR we needed an `EOF` https://github.com/apache/directory-scimple/pull/165 On Thu, Oct 13, 2022 at 8:26 PM Brian Demers <[email protected]> wrote: > > Hello All! > > I've run into a problem trying to update the version ANTLR that > SCIMple uses. It looks like something changed just after 4.5.3. > > After digging into it for a few hours, I'm still scratching my head. > I don't know enough about ANTLR "modes" to be useful. > > I created a stand-alone example that reproduces the issue. I'll ask > for help in the ANTLR mailing list, but I figured I'd pass it around > here in case any of the original authors have any ideas. > > https://github.com/bdemers/antlr-problem (see README for instructions, > TL;DR `mvn verify`) > > TL;DR: The phone number "tel:+358-4x-123-4" failed to parse on > previous versions. With current versions, it parses to: "tel:+358-4" > (The previous versions would raise an error on the `x`, whereas the > newer versions seem to ignore it?) > > Any help in rephrasing this problem would be appreciated too. > > -Brian --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
