• [^] # Re: Bravo l'innovation!!!

    Posté par . En réponse à la dépêche Mono 1.0 sous le feu des projecteurs. Évalué à 1.

    4) L'article:
    The great power of Mono and .NET lies in the ONE line of code:
    "bool matches = Regex.IsMatch( input, regex );"

    Ce que j'en dis:
    The great power of Perl lies in the ONE line of code:
    "$matches = $input =~ $regex;"


    Et puisqu'on les compare toujours, j'ajoute :
    The great power of Java lies in the ONE line of code:
    "boolean matches = Pattern.matches(regex, input);"