human
Python - Locating the position of a regex match in a string?
assistant
Here is some code to get the position of a regex match for word `is` in a string `String`

re.search('\\bis\\b', String).start()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.