Extract regex options