Skip to content

Commit

Permalink
use actual hex, oops
Browse files Browse the repository at this point in the history
  • Loading branch information
roycewilliams committed Jul 23, 2023
1 parent df51bec commit dd015ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tmesis.pl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
if ($word_buf[$word_pos] =~ m/[\x00-\x19\x7f-\xff]/)
{
# ... escape it in rule syntax.
$charspec = '\x' . ord($word_buf[$word_pos]);
$charspec = '\x' . unpack("H*", $word_buf[$word_pos]);
}
else
{
Expand Down

0 comments on commit dd015ed

Please sign in to comment.