# New Ticket Created by  m...@0branch.com 
# Please include the string:  [perl #130289]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=130289 >


S/// with the global adverb returns an empty Slip on match failure. This is
demonstrated in the first case below,

> S:g/d// given 'abc'
()
> S:g/d// given 'abcd'
abc

Non-global replacement works as expected,

> S/d// given 'abc'
abc
> S/d// given 'abcd'
abc

AlexDaniel ran bisectable in #perl6 and determined b7201a8f223 to be the
underlying cause.

Best,
Marc

Reply via email to