Answer the question
In order to leave comments, you need to log in
Need help customizing Regexp for Oniguruma?
There is Octopress. Its files use regexp with look behind. There is Ruby, version 1.8, which by itself does not support look behind. There is Oniguruma, which, in theory, supports everything you need. I don't understand how to convert an expression of one type to a "understandable" Oniguruma. Can anyone take a look? :) Thanks.
Code example:
/<div class="entry-content">(?<content>[\s\S]*?)<\/div>\s*<(footer|\/article)>/ =~ input
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question