Retourner au contenu associé (entrée de forum : question regex)
Posté par B16F4RV4RD1N le 27 janvier 2009 à 16:12. En réponse au message question regex. Évalué à 2.
Only wimps use tape backup: real men just upload their important stuff on megaupload, and let the rest of the world ~~mirror~~ link to it
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
[^] # Re: COINcoin
Posté par B16F4RV4RD1N . En réponse au message question regex. Évalué à 2.
Mais tout ce qui commence par "a" fonctionne :
echo HELLOacoco |sed -r "s/([A-Z]+)[a-z]*/1円/g"
alors que cela ne fonctionne pas :
echo HELLOcoco |sed -r "s/([A-Z]+)[a-z]*/1円/g"
Mais si on tape :
echo HELLOcoco |sed -r "s/([A-Z]+)[a-z].../1円/g"
cela retire bien les 4 dernières lettres.
Only wimps use tape backup: real men just upload their important stuff on megaupload, and let the rest of the world ~~mirror~~ link to it