Comments (4)
Hi, the matching is already multiline. But according to the reference (
https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/RegExp ):
(The decimal point) matches any single character except the newline characters:
\n \r \u2028 or \u2029. ([\s\S] can be used to match any character including
newlines.)
So, if you want to match any sequence of characters including newlines you
should use /[\s\S]*/ instead of /.*/. But I have tried with
/<tr>[\s\S]*<td>Nuke Me</td>[\s\S]*</tr>/ as the input and it nukes all the
rows. So you have to find the right RegExp. Good luck!
Original comment by [email protected]
on 19 Apr 2011 at 11:20
from foxreplace.
allow a quantifier to be specified as lazy (also known as non-greedy)
/<tr>[\s\S]*?<td>Nuke Me</td>[\s\S]*?</tr>/
Original comment by [email protected]
on 14 Dec 2012 at 8:42
from foxreplace.
Can you explain better, dockent? What do you mean?
Original comment by [email protected]
on 14 Dec 2012 at 4:42
from foxreplace.
Original comment by [email protected]
on 2 Jun 2014 at 8:53
- Changed state: Invalid
from foxreplace.
Related Issues (20)
- Regular expressionss with matching groups HOT 2
- Document how to access the Plugin HOT 1
- Adding Colors to Changes HOT 4
- Keyboard shortcuts no longer work with 2.6.0 HOT 2
- URL replacements do not work anymore after the latest update
- Older version HOT 2
- fox replace having issue replacing word starting with period "." and doesn't replace them HOT 3
- In Discord browser tabs, replacements only happen for me. HOT 1
- When using the function replace option, the p1, p2, …, pN and group parameters don't work HOT 1
- Where does FoxReplace store the Substitution Lists HOT 1
- Is it possible to delete a line ? HOT 2
- Detach the New Entry line, and sorting entries? HOT 1
- Option to only replace inside the <body> tag? HOT 1
- Add a delay option for auto-replace on page load HOT 1
- Is there support for escape sequences \U \F \L in FoxReplace? HOT 2
- UI and UX improvements HOT 1
- Is it possible to handle TypeError:p2 is undefined and process conditional statements with Output type: Function? HOT 3
- Home-End buttons do not work in the Substitutions entries' fields. HOT 1
- Regex for the asian languages does not work, e.g. (?<!\p{Han}) or (?!\p{Lo}) HOT 5
- Please, make support for the Unicode character class escape
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 foxreplace.