Thread Suchen und ersetzen nur wenn mit regex
(4 answers)
Opened by Mathias at 2015-06-30 15:04 Guest Mathias Wie schon gesagt: Negativer Lookbehind: Code (perl): (dl
)
$message =~ s/ (?<!\d{4}) \) /ü/gx; Beachte, dass hier nur kleine ü verwendet werden. Mehr zu Lookarounds z.B. hier Editiert von FIFO: typo, link Last edited: 2015-07-02 13:35:46 +0200 (CEST) Everyone knows that debugging is twice as hard as writing a program in the first place. So if you're as clever as you can be when you write it, how will you ever debug it? -- Brian Kernighan: "The Elements of Programming Style"
|