Fix buffer name regexp error