Handle regexp string correctly