We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
% cat e.rb puts '\n'.sub("\\", "\\\\\\\\") % ruby e.rb \\n % bin/mruby e.rb \\\\n
Note: bin/mruby above is built without Regexp gems.
bin/mruby
The text was updated successfully, but these errors were encountered:
5dd2b8e
Merge pull request #2828 from iij/pr-string-sub-backslash
5c6de68
gsub/sub supports back references in substitutes. fixes #2816.
gsub/sub supports back references in substitutes. fixes mruby#2816.
331c157
This implementation is compatible with CRuby's String#gsub/sub except \1 ... \9 and \+. They are useless without Regexp library.
No branches or pull requests
Note:
bin/mruby
above is built without Regexp gems.The text was updated successfully, but these errors were encountered: