Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #1020 (new wishlist)

Opened 16 years ago

Last modified 16 years ago

Recursive Regex

Reported by: gamerChad Assigned to: jascha
Priority: minor Milestone: 2.0
Component: Packaging Version: 0.99.5 Jascha
Keywords: Cc:

Description

Allow regular expressions like this: regex\Rrecursive Where \R matches "regex\Rrecursive" or "regexrecursive".

Even though these aren't truly "regular" regular expressions, this kind of functionality is very useful when analyzing things like source code. A lot of code elements are nesting, such as parentheses, curly brackets, nested comments, and so on.

Change History

04/03/08 19:25:43 changed by gamerChad

  • owner changed from larsivi to jascha.

04/07/08 07:06:30 changed by jascha

The engine uses a method that does not allow recursive patterns. The decision was made in favor of the performance, which decreases by a category if an engine with recursive pattern support is used.

In a rather distant future we may use two engines and switch between them automatically, if certain syntax is used.

04/12/08 21:04:14 changed by larsivi

  • milestone changed from 0.99.6 to 2.0.