More reliable BED-probing regex.
Merge branch '0.12.x'