RosettaCodeData/Task/String-matching/Jq/string-matching-4.jq

6 lines
64 B
Plaintext

"abc" | test( "^ab")
"abcd" | test("bc")
"abcd" | test("cd$")