cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
446
Views
0
Helpful
3
Replies

Detect emojis in subject line

Phil Bradley
Level 4
Level 4

I'm trying to detect emojis in the subject line of a message using the following regular expression:

<a?:.+?:\d{18}>|\p{Extended_Pictographic}

Does anyone know if the ESA will detect the extended_pictographic option?

3 Replies 3

So... its clear as mud as to which regex engine its using. PCRE, Apache RegExP, Python, and Java are all on the box.
I thought it was the python based engine...
I've asked a couple of people I know on the BU, and they don't know either.
You'll probably have to test (unless someone from the ESA team comes by with a definitive answer...)

I should have tried this before posting. I sent a test email with an emoji and it captured it. However, the trace tool would not detect this and kept showing false which is why I asked the question.

Apparently I spoke to soon. The above did not work and I did find in the user guide that async os uses the python RE. I tried this without success as well.

([\U0001F1E0-\U0001F1FF])|([\U0001F300-\U0001F5FF])|([\U0001F600-\U0001F64F])|([\U0001F680-\U0001F6FF])|([\U0001F700-\U0001F77F])|([\U0001F780-\U0001F7FF])|([\U0001F800-\U0001F8FF])|([\U0001F900-\U0001F9FF])|([\U0001FA00-\U0001FA6F])|([\U0001FA70-\U0001FAFF])|([\U00002702-\U000027B0])|([\U000024C2-\U0001F251])