The current specification says that grammars matching is anchored by the start and end of the string. Years ago there may have been a reason for an is_validating option but certainly no longer. You can request a subparse by passing a match-prefix option to either new or parse. Invalid URI exceptions now throw a class rather than a string.
The current specification says that grammars matching is anchored by the start and end of the string. Years ago there may have been a reason for an is_validating option but certainly no longer. You can request a subparse by passing a match-prefix option to either new or parse. Invalid URI exceptions now throw a class rather than a string.