Retourner au contenu associé (entrée de forum : méthode string.find et mot entier)
Posté par Robert VISEUR le 13 octobre 2004 à 21:51. En réponse au message méthode string.find et mot entier. Évalué à 1.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
# re.match
Posté par Robert VISEUR . En réponse au message méthode string.find et mot entier. Évalué à 1.
pourquoi
re.match(r'\blinux\b', 'linux et windows')
ne 'matche' pas ?
Ca colle pourtant avec ceci : http://fr.diveintopython.org/dialect_re.html(...) ?