omg / community-bots

A bunch of bots for community servers.
MIT License
0 stars 4 forks source link

remove wildcard highlighting #150

Closed Jeftaei closed 9 months ago

Jeftaei commented 9 months ago

wildcards dont Need to be highlighted as it doesnt exactly make sense (unless in the middle of anchoring characters ex: d...d) since they will always match the first character possible (or last) but its better to keep it consistent and have them not highlight at all

Jeftaei commented 9 months ago

.*? also doesnt work as expected, it is expected to match as few characters as possible but because of the grouping we do on .* its turned into (.*)? which matches as MANY characters as possible

this can be fixed along with the highlighting for other wildcard characters