Zum Hauptinhalt gehen

Request for help in consolidating existing regular expressions

Kommentare

3 Kommentare

  • Demizu Sachiyo

    Sorry,

    I meant "With this expression (item #3),
    ^[^\p{Ll}\p{Lu}\p{Lt}\p{Lo}\p{Pc}]*$
    can we safely remove items #2, 4, 5, 6?"

    Sachiyo

    0
  • Wojciech Mocek

    Hello Sachiyo,

    you cannot safely remove items #2, 4, 5, 6 with the regex you have mentioned.

    I am working with regular expressions for quite some time as CAT tools expert and I know that regular expressions are very tricky and sometimes a slight change can cause not desired behaviour. So I recommend to stick to what you already have and do not worry about the fact that some of regular expressions you already have can be duplicated.

    All the best

    Wojciech

    0
  • Demizu Sachiyo

    Thanks for the advice.

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.