From: xkernigh@... Date: 2017-10-07T01:25:58+00:00 Subject: [ruby-core:83171] [Ruby trunk Feature#13936] Make regular expressions debugable Issue #13936 has been updated by kernigh (George Koehler). Do other languages, like Perl, have a feature for debugging regular expressions? ---------------------------------------- Feature #13936: Make regular expressions debugable https://bugs.ruby-lang.org/issues/13936#change-67109 * Author: duerst (Martin D��rst) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- Ruby has all kinds of features that allow a programmer to look at internals, in particular for debugging. However, one important part of Ruby, regular expressions, don't have any such features yet. Onigmo, the regular expression engine used in MRI, has compile-time switches to output various kinds of debugging information. This is a general proposal to gauge interest in the ability to debug regular expressions, e.g. by looking at the parse tree, the instruction sequence, and execution-time information. Because such information can be very large, in particular execution-time information, we have to make sure that the interface is designed carefully, but I'd like to concentrate on the general desirability/usefulness (or the absence of it) for such a feature. If there is positive feedback, I plan to implement the necessary features in Onigmo proper, and then add the necessary API methods (and maybe options,...) to Ruby. -- https://bugs.ruby-lang.org/ Unsubscribe: