Strings ('...' or "...") can no longer be multi-line.
"case ... of" over multiple lines wil not mess with the region locations
If the name of a function can't be found, it will generate an error message. It will still create the regions, but with "error function name not found" as name. (This will be the case when the name of the function and the start of the function declaration are on multiple lines)
The flowing should be fixed for creating regions: