Fixed regexp in include method construction

The `-` must be at the beginning otherwise it means a range which is wrong in this case.