Skip to content
#

regexp

Here are 482 public repositories matching this topic...

mqudsi
mqudsi commented Mar 29, 2020

I was bitten pretty hard (my fault!) by a subtle difference in eXtended mode's handling of spaces in character classes. I was expecting (except in a much more complicated context) (?x)[ ] to match a single space as it does with pcre2, but that does not seem to be the case (and doesn't seem to be documented?).

In PCRE2, (?x) enables spurious use of whitespace everywhere except in character c

doc
tom-lord
tom-lord commented Feb 5, 2018

Ideally, Regexp#examples should always return up to max_results_limit.

Currently, it usually "aborts" before this limit is reached. (I.e. the exact number of examples generated can be hard to predict, for complex patterns.)

An enhancement would be to modify the algorithm such that results are always generated up to max_results_limit if possible.

Improve this page

Add a description, image, and links to the regexp topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the regexp topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.