@kingu_platypus_gidora oh. Cuz sometimes my brain feels like that picture when pondering regexps.
@MightyBigCar I like building regexp.
I might not be sane. I know.
@kingu_platypus_gidora
When I write a regexp that works:
👉😎👉
When I see any other regexp:
😨😵😱
@Nafrondel This "What is a regexp" is part of a Google search I was doing but end up here by mistake.
My question was "What is a regexp to match japanese text?"
@kingu_platypus_gidora Did you find it? Java/JVM languages, PCRE, etc. support Unicode character classes so you can ask for `\p{Han}\p{Katakana}\p{Hiragana}` (not sure if that includes ー and 々). In JavaScript though, I like using XRegExp (though you can use it to construct the regexp once and embed that in your code :) e.g., https://stackoverflow.com/questions/7344871/javascript-regular-expression-to-catch-kanji#comment68607594_7351856). I'm always looking for CJK regexp tricks 😁!
@22 This page
https://gist.github.com/terrancesnyder/1345094
helped me.
Since I am coding in scheme, regexp support is more limited.
I ended up using this
#/[ぁ-ゔゞァ-・ヽヾ゛゜ー]/
It seerms to work so far.
@kingu_platypus_gidora ah, Scheme 👌!
@kingu_platypus_gidora
Je connais pas, mais super photo !
Ca me donne envie de poster une photo de concert que j'adore !
@D3 Vas-y poste :)
Le groupe ici c'est Tsushimamire
@kingu_platypus_gidora
Pas aussi délirante mais j'aime bien :
Shannon Wright
(Je ne retrouve pas le nom de la photographe par contre) : https://mastodon.zaclys.com/media/jk0GSr33aGW8zXVFVwE
@D3 Premiere fois que j'entend parler de Shannon Wright.
Je vais decouvrir! Merci :)
@D3 En tous cas, la lutte contre la piraterie nest pas sa priorité. Sa musique est super facile a trouver et a télécharger!! :)
@kingu_platypus_gidora
Je pense qu'elle n'est pas du tout dans un esprit commercial.
Elle fait de la musique pour elle d'abord :)
@D3 C'est tout a son honneur!!!
lol the "What is a regexp " part have nothing to do here, copy/paste mistake :)