Skip to content

Instantly share code, notes, and snippets.

@satyr
Created July 24, 2010 21:05
Show Gist options
  • Save satyr/488966 to your computer and use it in GitHub Desktop.
Save satyr/488966 to your computer and use it in GitHub Desktop.
--- waker.rb~ 2010-07-25 06:03:36.070000000 +0900
+++ waker.rb 2010-07-25 06:04:12.774000000 +0900
@@ -105,7 +105,7 @@
num_actions += actions.size
reg = begin
- Regexp.new('\\A(?:' + regexp + ')\\Z', Regexp::MULTILINE)
+ Regexp.new('\\A(?:' + regexp + ')\\z', Regexp::MULTILINE)
rescue
error("Regexp error: #{$!.to_s} \"#{regexp}\" in line #{lineno}")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment