're word 在 Do regular expressions from the re module support word ... 的評價 You should be using raw strings in your code >>> x = 'one two three' >>> y = re.search(r"\btwo\b", x) >>> y <_sre. ... <看更多>