Jupyter Notebook's search and replace not as greedy as regex101's javascript
Jupyter Notebook's search and replace not as greedy as regex101's javascript I have a number of logger.*() functions I want to convert to simple print() statements in a Jupyter Notebook. I already changed the beginning of the lines: logger.*( . Now I need to fix the tail and change ", e to " % (e : logger.*() print() logger.*( ", e " % (e print("(%s):n" " Failed to load logger" % (e, )) logger.error("(%s):n" " Validation Testing errors occurred. '%s'", e, report_file) logger.critical("(%s):n" " Failed to return Parsed Report " " in debug mode.", e) logger.critical("(%s):n" " Error loading template.", e) Using Regex101 to test my javascript Regex, I wrote print("[sS.]*(", e) But in Jupyter's find and replace, this only captures up to print("(%s)n" . print("(%s)n" ...