Fixed the bug when fitler the Regular Expressions


Signed-off-by: jssoscar