openresty/lua-nginx-module — pull request #442 by guanlan (2014-12-09 22:40:02+00:00)
Title: bugfix: ngx.re.gsub() mistakely eliminate the first character.

ngx.re.gsub() will mistakely eliminate the first character sometimes.

To reproduce:
```
newstr, n, err = ngx.re.gsub('TestCase', '^ *', '', '')
ngx.say(newstr)
```

Result:
```
estCase
```