[Bug 135975] Perl's 'study' function breaks regexp matching