regular-expressions
Here are 377 public repositories matching this topic...
-
Updated
Apr 18, 2016 - Jupyter Notebook
Ideas:
- Set a minimum dimension for images.
- Find a way to detect dimensions before downloading the image.
Missing language
Please add VB/VBA to your language list.
In the readme file of the raspberry and django project change python2.7 to python3.7
It is causing lots of problem
-
Updated
Apr 17, 2020 - Rust
-
Updated
Mar 26, 2020 - Python
-
Updated
Jun 4, 2020 - JavaScript
Add tuple
[$value, $unit] = pattern('(\d+)[cm]m')->match('13cm')->tuple(1, 2)->first();
$value // '14'
$unit // 'cm'Of course it should throw for invalid groups, nonexistent groups and unmatched groups.
Ideally, it should be similar to
[$value, $unit] = pattern('(\d+)[cm]m')->match('13cm')->first(function (Match $match) {
return [$match->get(1), $match->get(2)];
});
``I have been thinking how to organize package documentation. We basically have a few "groups" of functions that may make sense to be introduced together (at least in pkgdown):
Single-character functions
These are functions that return one character and do not require any "wrappers"
rx_alpha_numrx_brandrx_line_breakrx_digitrx_somethingrx_spacerx_tab
-
Updated
May 17, 2019 - C
-
Updated
Apr 7, 2019 - Common Lisp
-
Updated
May 25, 2020 - C++
-
Updated
Sep 11, 2018 - Go
Named capture groups
Named capture groups have been requested as a feature here: https://www.reddit.com/r/rust/comments/djv01f/z/f48r5ao
Should not be too hard to implement:
First, extend parser to parse named groups. Store it in a HashMap<String, usize>.
Then add API to look up named groups using the name. Use the HashMap to look up the group index first.
Referencing named groups in backrefs doesn't h
-
Updated
Feb 1, 2018 - HTML
-
Updated
Oct 4, 2018 - Java
-
Updated
May 23, 2020 - Nim
-
Updated
May 17, 2017 - Python
-
Updated
Feb 28, 2020 - C++
-
Updated
Jul 14, 2017 - JavaScript
Do you want to request a feature or report a bug?
Feature.
What is the current behavior?
The Playground's full sentence is quite long to read and the ending question is useless. Besides, it does not help to understand the table result shown right below this sentence.
_Let‘s write
a [global or not] regex
verifying that the text
[type your text here]
does
[contain|start with|end w
-
Updated
Apr 6, 2020 - JavaScript
-
Updated
Nov 2, 2019 - C
-
Updated
Jan 19, 2017 - Go
I'm missing a little but helpful feature: let the addon's icon indicate if FoxReplace made changes to a website. I use this addon for automatic, simple text replacements (and it's great!), but I always wonder if a page has been actually altered or not. You could either simply change the colour of the icon or display a number count of changes that were applied to the page.
Thank you very much!
Improve this page
Add a description, image, and links to the regular-expressions topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the regular-expressions topic, visit your repo's landing page and select "manage topics."
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