XXXX redacted: Difference between revisions
Content deleted Content added
Thundergnat (talk | contribs) m more clarification |
Thundergnat (talk | contribs) Minor tweaks |
||
Line 54: | Line 54: | ||
Complex Unicode: Using the test string: [🧑 👨 🧔 👨👩👦] and the redaction strings: [👨] and [👨👩👦] |
Complex Unicode: Using the test string: [🧑 👨 🧔 👨👩👦] and the redaction strings: [👨] and [👨👩👦] |
||
Show the redacted strings when using the |
Show the redacted strings when using the option "Whole word" (Case sensitivity shouldn't matter.) A single grapheme should be replaced by a single 'X'. |
||
🧑 👨 🧔 👨👩👦 |
|||
Redact '👨' [w |
Redact '👨' [w] 🧑 X 🧔 👨👩👦 |
||
Redact '👨👩👦' [w |
Redact '👨👩👦' [w] 🧑 👨 🧔 X |
||
Line 100: | Line 100: | ||
my $emoji = '🧑 👨 🧔 👨👩👦'; |
my $emoji = '🧑 👨 🧔 👨👩👦'; |
||
printf "\nStretch Unicode\n%20s %s\n", '', $emoji; |
printf "\nStretch Unicode\n%20s %s\n", '', $emoji; |
||
printf "%20s %s\n", "Redact '👨' [w |
printf "%20s %s\n", "Redact '👨' [w]", $emoji.&redact('👨'); |
||
printf "%20s %s\n", "Redact '👨👩👦' [w |
printf "%20s %s\n", "Redact '👨👩👦' [w]", $emoji.&redact('👨👩👦');</lang> |
||
{{out}} |
{{out}} |
||
<pre>Redact 'Tom': |
<pre>Redact 'Tom': |
||
Line 121: | Line 121: | ||
Stretch Unicode |
Stretch Unicode |
||
🧑 👨 🧔 👨👩👦 |
🧑 👨 🧔 👨👩👦 |
||
Redact '👨' [w |
Redact '👨' [w] 🧑 X 🧔 👨👩👦 |
||
Redact '👨👩👦' [w |
Redact '👨👩👦' [w] 🧑 👨 🧔 X |
||
</pre> |
</pre> |