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

[Feature Request] alternative regexp pattern parameter #6

Open
sourcebert opened this issue Sep 2, 2017 · 2 comments
Open

[Feature Request] alternative regexp pattern parameter #6

sourcebert opened this issue Sep 2, 2017 · 2 comments

Comments

@sourcebert
Copy link

Hi!

For a more customizable pattern configuration there should be a parameter which accepts regexp patterns. So for example it is possible to capture pretty link inputs with the following regexp pattern: (?:^|\s)\[\[[^\[\[]*\|([^\[\[\]\]]*)$ (as you can see, I'm not a regexp expert ;)

Best regards,
Albert (an avid user of your autocompletion plugin :)

@snowgoon88
Copy link
Owner

Sorry for the long delay before answering and thx for using my plugin.
Developpment of the pluggin is not my priority, but for the next update, I'll have a look at using regexp. Seems a good idea.

@snowgoon88
Copy link
Owner

snowgoon88 commented Jan 28, 2018

For myself : in plugin/files/completion.js
could add another "Template" where 'pattern' is not regExpEscaped
=> next UPD in fix_autosave branch

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

No branches or pull requests

2 participants