There is one question again: I am unable to put the hexcode into a
perl-filter (In BBEdit it is working). Could be somebody be so kind to
help me once again?

marek

#!/usr/bin/perl

use strict;
use warnings;

# while(<>) {
#   s!\x{D83D}\x{DE18}!\\includegraphics[height=15pt]{emo01.png}!g
# }

# while(<>) {
#       if (/\x{0020}/) {print "hurray!\n"}; # this is working! (Searches for
a space!)
# }

while(<>) {
        if (/\x{D83D}\x{DE18}/) {print "hurray! And here is your emoticon!\n"};
# this is not working! (Searches for the emoticon 😘 !)
}



On 17/12/14 22:40, Marek Stepanek wrote:
> 
> Thank you Rich, everything is working now as intended and I have learned
> a lot :-)
> 
> marek
> 
> 


-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].

Reply via email to