human
Matching blank lines with regular expressions
assistant
Here is some code to match blank lines in `s` with regular expressions

re.split('\n\\s*\n', s)

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