General

Profile

pietzcker (Tim Pietzcker)

  • Login: pietzcker
  • Email: tim@pietzckers.de
  • Registered on: 03/06/2013
  • Last sign in: 03/06/2013

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

03/06/2013

03:54 PM Backport200 Backport #8023: Lookbehind assertion fails with /m mode enabled
More observations:
.+ works as does its equivalent {1,}, but only in Ruby 1.9 (it seems that that's the only behavio...
pietzcker (Tim Pietzcker)
06:58 AM Backport200 Backport #8023: Lookbehind assertion fails with /m mode enabled
Some more observations:
Adding an end-of-line anchor doesn't change anything:
irb(main):016:0> "foo" =~ /(?<=fo...
pietzcker (Tim Pietzcker)
06:41 AM Backport200 Backport #8023: Lookbehind assertion fails with /m mode enabled
Tested on Ruby 2.0.0 and 1.9.3p392 pietzcker (Tim Pietzcker)
06:34 AM Backport200 Backport #8023 (Closed): Lookbehind assertion fails with /m mode enabled
Lookbehind assertions fail if they are longer than one character, and if dotall mode is set.
irb(main):001:0> "foo...
pietzcker (Tim Pietzcker)

Also available in: Atom