-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
Hi, I'm having problem with pattern of type $$object.property%%. It extract the $$object.property% and of course the match never happen. Why are you getting the first char of prefix and suffix?
In my use case (and I think in every use case) the best way is to change the regexp built in extract method. I ended up with this version (with $$ as prefix and %% as suffix)
\$\$[^(\$\$)(%%)](.*?)((\\\$|\\%)?)%%
The (\\\$|\\%) need to contains all chars in both prefix and suffix to let user to use $ and % chars (or everything user want to use) into placeholder.
Metadata
Metadata
Assignees
Labels
No labels