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
Other discussions have referenced using ssub(), but that will not work in situations like the above example where the position of the special character is important.
This is similar to some previous tickets (e.g. Escape dollar sign in regular expressions #171), but they appear to be related to pre-Go versions of Miller, where regex handling may be different, so it felt best to create a separate ticket.
The text was updated successfully, but these errors were encountered:
Some special characters such as
^
and$
cannot be escaped (to use as a literal character) in regular expressions.Example:
Output:
Notes
ssub()
, but that will not work in situations like the above example where the position of the special character is important.The text was updated successfully, but these errors were encountered: