Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

GH-4: ruby 1.8.7 lacks negative lookbehind regexps

  • Loading branch information...
commit c87dab11cdb60198fc1faf1b7b2f6ee5ff0f057d 1 parent 1551b32
@sunaku authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/md2man/roff.rb
View
2  lib/md2man/roff.rb
@@ -19,7 +19,7 @@ def postprocess document
super.strip.
# ensure that spaces after URLs appear properly
- gsub(/(?<=^\.[UM]E) \s/, "\n").
+ gsub(/(^\.[UM]E) \s/, "\\1\n").
# squeeze blank lines to prevent double-spaced output
gsub(/^\n/, '')
Please sign in to comment.
Something went wrong with that request. Please try again.