Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
なぜ私はPerlでコーディングするのか@吉祥寺.pm16
Search
korenari
November 22, 2018
Programming
1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
なぜ私はPerlで コーディングするのか@吉祥寺.pm16
吉祥寺.pm16の登壇資料
https://kichijojipm.connpass.com/event/104750/
https://twitter.com/Korenari_D
korenari
November 22, 2018
More Decks by korenari
See All by korenari
Perlとテキストデータクリーニング@吉祥寺.pm18
korenari
0
2.2k
サーバレス日本語形態素解析エンジンとの格闘記録
korenari
0
2.5k
Other Decks in Programming
See All in Programming
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
700
GemmaをJevのように使ってみる / Use Gemma like Jev
kishida
5
790
設計次第でAIコードの読む量は減らせる / designing-for-code-reading
minodriven
35
17k
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
JAWS-UG 東京支部が始める、JAWS-UG支部コラボ / JAWS-UG lunchtime LT Collaboration
y0hgi
0
280
phperだってパンチカードでコーディングしたい
o0h
PRO
0
340
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
970
dotNET_vulnclicker_intro.pdf
deka_morita
0
140
RAG の “R” を Swift で覗いてみる 〜「意味から探す」検索の仕組み〜
nao_randd
0
170
iOS 27でニュースアプリはどう変わる!? 〜日経電子版の新機能対応と、開発事例から〜
lynnswap
7
13k
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
Featured
See All Featured
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
How to make the Groovebox
asonas
2
2.5k
Embracing the Ebb and Flow
colly
88
5.2k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.5k
Transcript
ͳͥࢲ1FSMͰ ίʔσΟϯά͢Δͷ͔ 8 6 . 2 0 1
ࣗݾհ T G . , N F R D LP
LP , , !,PSFOBSJ@%
͜ͷλΠτϧʹ͖͔͚ͨͬ͠ https://twitter.com/black_kaiji/status/1057973231427059714
͜ͷλΠτϧʹ͖͔͚ͨͬ͠ https://twitter.com/black_kaiji/status/1057973231427059714 https://twitter.com/black_kaiji/status/1058712946098892800
ࠓͷαϚϦʔ •ͳͥࢲ1FSMͰίʔσΟϯά͢Δͷ͔
ࠓͷαϚϦʔ •ͳͥࢲ1FSMͰίʔσΟϯά͢Δͷ͔ •͍ •͍͢ •͏·͍
ࠓͷαϚϦʔ •ͳͥࢲ1FSMͰίʔσΟϯά͢Δͷ͔ •͍ ʜʜ Ϩεϙϯεॲཧ͕͍ •͍͢ ʜʜ লϝϞϦ •͏·͍ ʜʜ
ߦͰਖ਼نදݱ͕ॻ͚Δ
ࠓͷαϚϦʔ •ͳͥࢲ1FSMͰίʔσΟϯά͢Δͷ͔ •͍ ʜʜ Ϩεϙϯεॲཧ͕͍ •͍͢ ʜʜ লϝϞϦ •͏·͍ ʜʜ
ߦͰਖ਼نදݱ͕ॻ͚Δ 㲎 ਖ਼نදݱϦςϥϧ͕͋Δʂ
ਖ਼نදݱϦςϥϧʁ •ӈهͷࣈ෦ •1FSMͰએݴ͕ෆཁͰਖ਼ن දݱ͕ར༻Մೳ •෦Ͱྑ͍ײ͡ʹίϯύΠϧ •
$word = ‘kichijoji’; if ($word =~ /^k/) { print ”OK ¥n"; } else { print ”NG ¥n"; }
ਖ਼نදݱϦςϥϧͬͯԿ͕خ͍͠ͷʁ • ਖ਼نදݱϦςϥϧ͕ͳ͍ͱɺਖ਼نදݱΛద༻͢Δ͝ͱʹɺຖ ճਖ਼نදݱΛίϯύΠϧ͢ΔίʔυΛॻ͖͕ͪͰ͢ɻ • ͜Εɺ࣮ߦΛେ෯ʹѱԽͤ͞·͢ɻ • ਖ਼نදݱϦςϥϧ͕͋Εɺਖ਼نදݱΛݴޠॲཧܥଆͰίϯύ Πϧ͍ͯ͠ճ͢͜ͱ͕Ͱ͖ΔͷͰɺ࣮ߦ্͕͠·͢ɻ
http://blog.kazuhooku.com/2013/12/blog-post.html
ࢀߟ ͪΐͬͱલʹʹͳͬͨΒ͍͠ • ਖ਼نදݱ͕ߏจͱͯ͠ඞཁ͔Ͳ͏͔ͱ͍͏͔Β IUUQTUPHFUUFSDPNMJ ʢ݄ʣ • ϓϩάϥϛϯάݴޠʹ͓͚Δਖ਼نදݱϦςϥϧͷඞཁੑʹ͍ͭͯ IUUQCMPHLB[VIPPLVDPNCMPHQPTUIUNM ʢ݄ʣ
• ਖ਼نදݱϦςϥϧຊʹඞཁͳͷ͔ʁ IUUQTXXXTMJEFTIBSFOFULXBUDITT ʢ݄ !1Z$PO+1ʣ
1FSMͱ͍͑ϫϯϥΠφʔ perl -ne 'print if 30 ..
40’ *.txt 3040 perl -pi -e 's/foo/bar/g;’ t1.txt > t2.txt foobar ! perl -ne 'print if /./' t1.txt > t2.txt . $ →" Perl %#
1FSMͱ͍͑ϫϯϥΠφʔ perl -ne 'print if 30 ..
40’ *.txt 3040!# perl -pi -e 's/foo/bar/g;’ t1.txt > t2.txt foobar$) perl -ne 'print if /./' t1.txt > t2.txt . + !# →%!*( ' " TL& m(_ _ )m
ॳΊͯ1FSMͰൃදͰ͖ͨʂʂ