You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@robertlevy I needed something like this as well, but the way that I am getting away with having multiple delimiters is passing in RegEx that will match multiple things. It doesn't work perfectly, but it may work for you.
Example:
pseudoloc.option.startDelimiter = '(%{|<|</)'; // %{ or < or </
pseudoloc.option.endDelimiter = '(}|>|/>)'; // } or > or />
The reason this works is because the delimiters are prepended/appended to a RegEx.
For me, it doesn't work perfectly, because I have html strings with attributes (<a href="">) that don't get excluded properly. However, strings like <strong> and </strong> get excluded OK.
Would love to see support for multiple delimiters. Something like:
Bonus points for handling nested delimiters (the ones that use start/end atleast)
The text was updated successfully, but these errors were encountered: