Open sourcebert opened 7 years ago
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.
For myself : in plugin/files/completion.js
could add another "Template" where 'pattern' is not regExpEscape
d
=> next UPD in fix_autosave branch
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 :)