# New Ticket Created by "Mark E. Shoulson"
# Please include the string: [perl #120993]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=120993 >
> any("4","5") ~~ /4/
「any(Failure.new(exception => X::OutOfRange.new(what => "Start of substr", got
=> 5, range => 0..1, comment => Any)), Failure.new(exception =>
X::OutOfRange.new(what => "Start of substr", got => 5, range => 0..1, comment
=> Any)))」
> (any("4","5") ~~ /4/).perl
Match.new(orig => any("4", "5"), from => 5, to => 6, ast => Any, list =>
().list, hash => EnumMap.new())
> (any("4","5") ~~ /5/).perl
Match.new(orig => any("4", "5"), from => 10, to => 11, ast => Any, list =>
().list, hash => EnumMap.new())
> any("a","b") ~~ /a/
「any("a", "b")」
The first line is what's odd. The .gist is failing somehow. The "got => 5"
refers to the start of the match in the .Str representation of the junction,
that's sensible. Why this problem happens with "4","5" but not with "a","b" I
don't know.