Problem: Creating a Ruby C extension using oniguruma (not onigmo)
[email protected] Tue, 9 Jul 2019 16:29:18 +0200
| Newsgroups | gmane.comp.lang.ruby.general |
|---|---|
| Message-ID | <5d5c138e-24f4-4eb9-919c-b8b26990b0f0@Spark> |
I'm having a problem when I try to include oniguruma (v6.9.2) in my ruby C extension. The regexp `foo([a-z]+)` with input `foobar` will not capture `bar` when running in Debian GNU/Linux 9. I think it's colliding with Ruby's onigmo lib (modified oniguruma). But I can only replicate the problem in Linux not macOS (Darwin). If this is interesting to someone I have a git repo with all tests and a Dockerfile that can be found here: https://github.com/voke/ruby-onig-issue Should it be possible to use a different version of oniguruma for my Ruby C extension? Best regards Gustav Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk>