regex operator working