Comments (6)
Show screenshot of your Find window when this fails.
from notepad-plus-plus.
from notepad-plus-plus.
I was able to resolve the bug by switching to Search Mode -> "Normal". However, given that I never chose "Regular expression" to begin with, the failure of the default Find feature, as well as the lack of any warning that "Regular expression" leads to irregular find results, is an unfortunate failure in what is otherwise a very good program.
from notepad-plus-plus.
Switching to Regular expression search mode automatically uncheckmarks Match whole word only, which I suspect was your original problem (and why I asked for a screenshot). As the final character in your Find what text is NOT a "word character", this (having Match whole word only checkmarked) is problematic.
There's more information about this in the Notepad++ user manual -- accessible from Notepad++ on the ?
menu.
from notepad-plus-plus.
To be clear, the previous image was shown when Notepad++ failed to find the string. It failed because it was set to "Regular expression" instead of "Normal." I hope this clarifies things.
from notepad-plus-plus.
It failed because it was set to "Regular expression" instead of "Normal." I hope this clarifies things.
Ah, okay, sorry for the misreading/misinterpretation on my part; let me start over. :-)
However, given that I never chose "Regular expression" to begin with...
You MUST have, at some point, chosen it, because it is not the default search mode. Normal is the default, for obvious reasons. If you change the Search mode, it will remain in that mode until you change it again.
The text data from your Find what will not match (in Regular expression mode) because of the [
and ]
characters in that data (they are special regex metacharacters). What you are instructing search to do (I know, you didn't intentionally do this) is to match up to (but not including) the first [
literally, and then match any ONE single character from the set '
, b
, o
, d
, y
, and then match the text following the ]
literally.
Since you don't have something like e.g. html = f"{selected_emailb}<img src='cid:image1'>"
in your document, it doesn't match.
I think that covers it and hopefully this issue may now be closed (by you, please).
from notepad-plus-plus.
Related Issues (20)
- Not showing Emojis with multiple codepoints correctly even with DirectWrite enabled HOT 4
- About keys ( Ctrl+F ) ... HOT 1
- Update GPG key on notepad-plus-plus.org HOT 1
- v8.6.5 - Right parentheses missing in the debug info's `OS Name` field
- Silent install HOT 1
- Feature request: collapse / expand of nodes from find dialog HOT 3
- Feature Request: Side panel: List of mapped sections in an HTML file HOT 2
- Unable to Open Containing Folder in cmd HOT 7
- No nenu underlined letters when pressing ALT or F10 when menu bar is hidden
- [DarkMode] Windows 11 checkbox/radio buttons
- Some maths characters don't show up HOT 2
- Ctrl+Shift+... not registered in npp shortcutmanager but type sys chars HOT 7
- Global HotKey PauseBreak not correct in npp 8.6... via PuntoSwitcher
- Different Behavior For Scintilla vs. Built-in Shortcut Mapping HOT 2
- search for file in workspace (project panel 1) HOT 2
- Word-wrap not preserved when closing and reopening HOT 5
- [Bug] Hidden close button in Find&Replace dialog
- Reduce CI build time HOT 1
- possible 2GB+ files loading Scintilla exception HOT 5
- Copy and Paste in a column in Notepad++ HOT 6
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 notepad-plus-plus.