[docs] Fix regex example code.