Expected result from regex is to match everything but feature/TASK-1 in text like
sdfa gjern kaemrg
gakemrk version: feature/TASK-1 fskd
faklsdfmk
important: it should MATCH everything BUT feature/TASK-1. Not match branch name
I tried this one
(?<!version: )bS+|[s]
But it doesn’t match only “feature”, not full branch name, i suppose because of b word boundary
is there any way to reach expected result?..(
New contributor
DimaParachute is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.