Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fox replace having issue replacing word starting with period "." and doesn't replace them #360

Open
wtfiwinomgs opened this issue Nov 20, 2023 · 3 comments

Comments

@wtfiwinomgs
Copy link

wtfiwinomgs commented Nov 20, 2023

some work while others dont work
tried every option, text, whole word or regular expression nothing works

to give an example: (all without " " quotation)

". Its working." replacing it with " and Its working." doesn't work, regardless of the 3 options available text/whole words / expression etc, regardless letter case match or not

however

". Its wor" replacing it with " and its wor" will work with just text, with/without case matching.

whats going on

edit: this is on discord chat message area

@wtfiwinomgs
Copy link
Author

heres another example:

"Thx. for the tip." replacing with "Thanks" does not work, tried with all 3 options, case letter match/not nothing works

"x. for" replace with "x for" also doesn't get picked up, not working

@Woundorf
Copy link
Owner

Your examples work here on GitHub. Maybe Discord is adding some formatting elements in the middle of those texts or they span several DOM nodes, in which case it will not work.

@wtfiwinomgs
Copy link
Author

wtfiwinomgs commented Feb 24, 2024

Your examples work here on GitHub. Maybe Discord is adding some formatting elements in the middle of those texts or they span several DOM nodes, in which case it will not work.

I think so. sometimes it'll work on discord other times doesn't not sure why
it'll be super nice of you to check into the DOM thing when you have free time, this extension is a god sent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants