I have a file contains a lot of functions, each function like

```
=======

CREATE PROCEDURE [fName]

code...

code...

END

GO

=======

```

I want to get every function pattern, and the expression I used is

```
^(CREATE PROCEDURE).*(\r\n.*)+\r\nGO

```

The result is wrong. Can somebady help! Thanks for answer