We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trim_end_match
I'm not sure if I'm misunderstanding the documentation, but I would expect the following lines to print the same result.
test: echo {{ replace_regex('ping-pong', '-.*$', '') }} echo {{ trim_end_match('ping-pong', '-.*$') }}
In fact, the first line prints ping as expected, but the second line prints ping-pong. Isn't trim_end_match supposed to take a regular expression?
ping
ping-pong
The text was updated successfully, but these errors were encountered:
time_end_match
Actually this is as-intended. Only _regex takes a regular expression, the other _match functions take a string literal which is matched verbatim.
_regex
_match
Sorry, something went wrong.
README
No branches or pull requests
I'm not sure if I'm misunderstanding the documentation, but I would expect the following lines to print the same result.
In fact, the first line prints
ping
as expected, but the second line printsping-pong
. Isn'ttrim_end_match
supposed to take a regular expression?The text was updated successfully, but these errors were encountered: