Emmy on Nostr: I wrote a regex matching some Arabic words. I was wondering why it's not working. ...
I wrote a regex matching some Arabic words. I was wondering why it's not working.
Turns out I used ؟ instead of ? for the optional part.
Published at
2024-10-14 04:33:52Event JSON
{
"id": "01f09026a80ba5ebe8b9ce9a3f19ce23b92d1b078a89150f92e4605ac08c4ad3",
"pubkey": "9d4b9a498cdd1bf67d6f62d63d5a34c6637834b5d90dc4774fe84c5501d2d0be",
"created_at": 1728880432,
"kind": 1,
"tags": [
[
"emoji",
"neocat_googly",
"https://cdn.transfem.social/files/28ca600a-ed08-41b9-bbb1-c3cad44b3836.png"
],
[
"proxy",
"https://transfem.social/notes/9zc330tu91m1005u",
"activitypub"
]
],
"content": "I wrote a regex matching some Arabic words. I was wondering why it's not working.\n\nTurns out I used ؟ instead of ? for the optional part. :neocat_googly:",
"sig": "88d0396881ec617e93c6e5d738b2a6119feae1e3173735c4864e291484a8c458ab500a2cf3e1d97cd5f2d02eb1107b55c67dc15514733aac4edb7228693b230b"
}