#587 new
Wilson Bilkovich

RegexpError: target of repeat operator is invalid

Reported by Wilson Bilkovich | June 4th, 2008 @ 02:32 PM | in 1.0 preview

x = /\n(\.\/)?(.*\.rb):[\d]+:\Z?/
# RegexpError: target of repeat operator is invalid: \n(\.\/)?(.*\.rb):[\d]+:\Z?
   # from Regexp.new at kernel/core/regexp.rb:72
   # from Object#irb_binding {} at (irb):1

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »