Comments (6)
I'd very much appreciate knowing whether anyone else succeeds or fails in reproducing this. I wonder if I missed some relevant system state in the report, as being reproduced by this very specific trigger is pretty strange.
from espanso.
Possibly related:
from espanso.
Here's another example of the infinite loop (if you try it, set a timer to kill espanso before you use the trigger):
- trigger: ":-"
replace: "--- $|$ ---"
from espanso.
Now that I look at the nested matches doc, it seems the first case is actually intentional, though I don't understand why. Shouldn't a nested match be specified with its full trigger, rather than its trigger but-without-a-potential-leading-colon?
The second case still must be unintentional, and may still be related to the implementation enabling the first.
from espanso.
Well for my own usage, I think this would be resolved if I could disable nested matches altogether, and have opened a request for that at #1733.
I don't understand why something
matches :something
when it comes to nested matches, but I'd be very happy to just ensure recursive replacement is never a possibility in my setup.
from espanso.
I don't think what you're seeing is intentional.
I've tried all your examples (Linux Mint 21.2 x86_6, Xfce 4.18) and can't reproduce your outputs. I can only produce the nested match effect with the configuration specified in the docs, where the nested match is triggered by:
vars:
params:
trigger: :something
as shown in the example, so I don't get any accidental triggering.
I think what you're seeing is a bug.
from espanso.
Related Issues (20)
- unused crates
- ยง (section sign) doesn't trigger HOT 2
- Espanso Wayland Turkish F keyboard problem HOT 3
- Issue with replacing strings (Win 11) HOT 3
- Operation not permitted by the OS (application error code: 100001). HOT 3
- Clipboard data truncated to 2047 characters if trigger initiated with data in clipboard over 2047 characters HOT 10
- Espanso under Wayland on KDE Neon not starting HOT 12
- Arch wayland weird visual bug on boot HOT 2
- Still problems with German Umlaute in Thunderbird HOT 4
- unused file `/snap/hooks/remove` HOT 1
- Close this repository's wiki HOT 4
- Pasting into regex match not working HOT 1
- add quotes (apostrophe) "\u0027", double-quotes "\u0022", Form Feed "\u000c", and "\t" to `word_separators:` HOT 1
- We could rework the exit codes
- error: use of undeclared identifier 'DEFAULT_STYLE' HOT 2
- espanso package list not working HOT 5
- We should define a scope for the project, and write it down on the `README.md`
- Multiple users on Windows HOT 7
- Using with Synergy/Barrier HOT 6
- Regex trigger not working HOT 11
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 espanso.