query: scala regex match up to a specific string but whole string if the specific word doesn't exist
positive_passages.docid: 2360
positive_passages.text: My regex is matching too much. How do I make it stop?
negative_passages.docid: 126195
negative_passages.text: Random string that matches a regexp
negative_passages.docid: 83695
negative_passages.text: re.search() only matches the first occurrence
negative_passages.docid: 100764
negative_passages.text: Match text only if it contains all words from whitelist, but none from blacklist
negative_passages.docid: 101140
negative_passages.text: How can I find all matches to a regular expression in Python?
negative_passages.docid: 45977
negative_passages.text: Matching exact string with JavaScript
negative_passages.docid: 10951
negative_passages.text: Case insensitive 'Contains(string)'
negative_passages.docid: 86463
negative_passages.text: A Regex that will never be matched by anything
negative_passages.docid: 60000
negative_passages.text: Regex to match string containing two names in any order
negative_passages.docid: 93551
negative_passages.text: Regex: ignore case sensitivity
negative_passages.docid: 130250
negative_passages.text: regex: creating an exception for r:a.?b.?c
negative_passages.docid: 123210
negative_passages.text: regex to find a word before and after a specific word
negative_passages.docid: 2559
negative_passages.text: Is there a regular expression to detect a valid regular expression?
negative_passages.docid: 119251
negative_passages.text: Lookup and return value based on sub-string match
negative_passages.docid: 84913
negative_passages.text: How to "inverse match" with regex?
negative_passages.docid: 151731
negative_passages.text: How to find a whole word in a String in java
negative_passages.docid: 94824
negative_passages.text: Phrase search in string, making correct RegExp