add a regex demo using group name
split the demo from benchmark
add a filelock for *nix
add a filelock for *nix