• # COINcoin

    Posté par . En réponse au message question regex. Évalué à 2.

    chez moi cela fonctionne bien (gnu sed 4.1.5 également) :

    ~$ echo HELLOb |sed -r "s/([A-Z]+)[a-z]*/1円/g"
    HELLO
    ~$ echo HELLObebe |sed -r "s/([A-Z]+)[a-z]*/1円/g"
    HELLO
    ~$ echo HELLOa |sed -r "s/([A-Z]+)[a-z]*/1円/g"
    HELLO

    un problème sur ta machine ?

    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