fixed regex test to use new var _fragment