Closed Whiteknight closed 8 months ago
public static IParser<char, char> MatchAny(ICollection<char> possibilities)
This method (and presumably the NotMatchAny variant) cannot take a string argument:
NotMatchAny
MatchAny("abcd")
There's also this method here, which has the same name and might be causing conflicts:
public static IParser<char, string> MatchAny(IEnumerable<string> patterns)
We should rename these to MatchAnyString or MatchAnyChar and make sure to add plenty of tests for proper usage.
This is done in master now, along several tests
This method (and presumably the
NotMatchAny
variant) cannot take a string argument:There's also this method here, which has the same name and might be causing conflicts:
We should rename these to MatchAnyString or MatchAnyChar and make sure to add plenty of tests for proper usage.