Allow g/ without a terminating /
Fixed parsing of negative ranges