Comments (3)
These kind of solutions always sound great, until you run into edge cases, like the user put a square bracket in front of their replacement token [$1
. It's kind of similar to what we do for List, but that still has the odd problem. I might look at this over the next week or so though, now that I'm dedicating some time again to RegExr.
from regexr.
We don't really have access to the necessary data to do this. It's a great idea though, so I'll give it some thought, and leave this open for now.
from regexr.
Would be a great feature. I don't get, why this would be a problem, what do you mean, you don't have access to the data? If you do a replace by a regular expression you can modify the replacement patterns as you wish, can't you? So, couldn't you just put some unique markers around the replacement patterns before replacing them, to find them again after replacing. I mean something like:
test.replace(/(.*)/g, "[[[[[[[$1]]]]]]]");
But probable I am missing something. Anyway, +1 for that feature.
from regexr.
Related Issues (20)
- PCRE engine matches รค (ASCII char 228) to other diacritics
- Separator not working for list tool for PCRE patterns
- Issue with Regex Tool's Lack of Support for Lazy Quantifier "{,M}" Without Lower Limit HOT 2
- Site is down with "connection timed out, Error code 522" HOT 1
- Support for `v` (`unicodeSets`) and `d` (`hasIndices`) flags HOT 3
- Support for named backreferences `\k<...>`
- i love you, whoever made this.
- \n not working as expected HOT 1
- Global indicator not working in tests HOT 1
- When nearby matches are present, hard to see visually.
- full match not working in test
- can't build it? HOT 1
- Hide Text/Tests pane
- Explain PCRE modes like `(?i)` more
- Feature request: Paste lines to be used for tests HOT 2
- Inconsistent / broken pattern matching for unicode letters in PCRE mode
- Feature Request: Change default author
- Cannot delete Pattern created by '[anonymous]'
- [Feature Request] Import multiple tests using a file text or a csv list or json list...
- Chromium browsers cannot append text after space character HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from regexr.