I need to extract a series of meaningful values ββfrom a file. The basic template for the values ββI need to map looks like this:
"indicator\..+?"\[true\]
Unfortunately, in places it covers quite a lot of content to get a true match, and the lazy quantifier (?) Is not as lazy as we would like.
How to change the above so that from the following:
"indicator.value here" [false], "other content", "more other content", "does not match this because there is no full stop" [true], "indicator.this value I want to match" [true]
only this value is returned: "indicator.this is the value I want to match" [true]
Currently, this entire line is being returned by my previous regular expression.
source share