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

Slash-commands not looking for exact match on link name #138

Open
TheLure opened this issue Oct 16, 2020 · 3 comments
Open

Slash-commands not looking for exact match on link name #138

TheLure opened this issue Oct 16, 2020 · 3 comments
Labels
Difficulty/1:Easy Easy ticket Hacktoberfest Help Wanted Community help wanted Tech/Go Type/Bug Something isn't working Up For Grabs Ready for help from the community. Removed when someone volunteers

Comments

@TheLure
Copy link

TheLure commented Oct 16, 2020

Verified in 1.2.1: The /autolink commands does not look fot the exact link name when you try to manipulate links. This makes it impossible to manipulate some links.

Example:

/autolink add testA
This is fine.
/autolink add testA2
Also fine.
/autolink set testA Pattern 123456789
returns:
"testA" matched more than one link: ["testA" "testA2"]

As a result you have to remove link testA2 in order to manipulate testA.

Correct behaviour would be to only look for a exact match.

@TheLure TheLure changed the title slash-commands not looking for exact match Slash-commands not looking for exact match on link name Oct 16, 2020
@hanzei hanzei added Difficulty/1:Easy Easy ticket Hacktoberfest Help Wanted Community help wanted Tech/Go Type/Bug Something isn't working Up For Grabs Ready for help from the community. Removed when someone volunteers labels Oct 19, 2020
@jrepe
Copy link

jrepe commented Oct 22, 2020

hey, can I grab this one?

@hanzei hanzei removed the Up For Grabs Ready for help from the community. Removed when someone volunteers label Oct 26, 2020
@lindy65 lindy65 added the Up For Grabs Ready for help from the community. Removed when someone volunteers label May 26, 2021
@p3k
Copy link

p3k commented Jul 14, 2021

any update on this?

@p3k
Copy link

p3k commented Feb 20, 2023

just out of sheer desperation i tried to use the index numbers of each autolink to change my version of the testA link – and what can i say, this works!

/autolink list
1: testA
Pattern: ``
Template: ``
2: testA2
Pattern: ``
Template: ``

/autolink set 1 Pattern 123456789
1: testA
Pattern: 123456789
Template: ``
2: testA2
Pattern: ``
Template: ``

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty/1:Easy Easy ticket Hacktoberfest Help Wanted Community help wanted Tech/Go Type/Bug Something isn't working Up For Grabs Ready for help from the community. Removed when someone volunteers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants