Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
RegExp the lifehack
Search
Roadagain
June 20, 2017
Programming
0
93
RegExp the lifehack
ictechで発表したスライドです
Roadagain
June 20, 2017
Tweet
Share
More Decks by Roadagain
See All by Roadagain
StorybookでモジュールモードのVuex storeを利用する / Use Modules mode Vuex store in Storybook
roadagain
0
980
@slack/bolt on Cloud Functions for Firebase
roadagain
2
910
HL-Report コントラクト開発裏話 / Developing Contracts of HL-Report
roadagain
1
630
Rustでオブジェクト指向エクササイズやってみた / OOP exercise in Rust
roadagain
0
380
Other Decks in Programming
See All in Programming
Progressive Web Apps for Rails developers
siaw23
2
530
Flutterアプリを生成AIで生成する勘所
rizumita
0
250
"noncopyable types" の使いどころについて考えてみた
andpad
0
130
선언형 UI를 학습할 때 알아둬야하는 키워드들
l2hyunwoo
0
110
CDKを活用した 大規模コンテナ移行 プロジェクトの紹介
yoyoyopg
0
240
WEBアプリケーションにおけるAWS Lambdaを用いた大規模な非同期処理の実践
delhi09
PRO
7
3.9k
Go製CLIツールGatling Commanderによる負荷試験実施の自動化
okmtz
3
670
Modern Functional Fluent CFML REST by Luis Majano
ortus24
0
130
型付きで行うVSCode拡張機能開発 / VSCode Meetup #31
mazrean
0
230
Quarto Clean Theme
nicetak
0
220
"Swarming" をコンセプトに掲げるアジャイルチームのベストプラクティス
boykush
2
190
AWS CDKを用いたセキュアなCI/CDパイプラインの構築 / Build a secure CI/CD pipeline using AWS CDK
seike460
PRO
3
570
Featured
See All Featured
Speed Design
sergeychernyshev
22
470
Music & Morning Musume
bryan
46
6.1k
Art, The Web, and Tiny UX
lynnandtonic
295
20k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
167
48k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
4
110
A Philosophy of Restraint
colly
202
16k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
GraphQLの誤解/rethinking-graphql
sonatard
65
9.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
225
22k
Pencils Down: Stop Designing & Start Developing
hursman
119
11k
Raft: Consensus for Rubyists
vanstee
136
6.6k
How GitHub Uses GitHub to Build GitHub
holman
473
290k
Transcript
3FH&YQUIFMJGFIBDL Roadagain@iiplab:~$ cat *.log | grep “^\S+72”
ਖ਼نදݱ /[rR]eg[eE]xp?/
ਖ਼نදݱ ςΩετฤूͷཔΓʹͳΔΦτϞ
ਖ਼نදݱ ίʔυฤूͷཔΓʹͳΔΦτϞ
ਖ਼نදݱ ͑Δͱඇৗʹศརʂ ࠷ૣϥΠϑϋοΫͷҰछ
ਖ਼نදݱ ҾͷมߋʹҰׅରԠʂ ෳύλʔϯͷλΠϙΛҰׅमਖ਼ʂ දه༳Εͷදݱʹ͑Δʂ
ਖ਼نදݱ ࠓճհ͢Δͷ ৗͰ͑Δਖ਼نදݱ
େ·͔ͳྨ จࣈྻ ϝλจࣈ ͦͷଞͷจࣈΫϥε
େ·͔ͳྨ จࣈྻ ϝλจࣈ ͦͷଞͷจࣈΫϥε
จࣈྻ จࣈྻ୳ࡧ
จࣈྻ
େ·͔ͳྨ จࣈྻ ϝλจࣈ ͦͷଞͷจࣈΫϥε
ϝλจࣈ ී௨ʹจࣈͱͯ͠͏߹ Τεέʔϓ͕ඞཁͰ͢
ϝλจࣈ ܁Γฦ͠ * ճҎ্ + ճҎ্ ? ճPSճ ho* =~
hook la+ =~ claaap hoge? =~ hog
ϝλจࣈ ܁Γฦ͠ {n} Oճ {n,m} OճdNճ go{2} =~ google ap{1,2}
=~ apple
ϝλจࣈ จࣈݶఆ . จࣈ [ ] <>ͷࣈ [a-z] BUP[ [^
] OPU .at =~ hat [abc] =~ abc [A-Z] =~ TeX [^hex] =~ enum
ϝλจࣈ อଘ () ͘͘Δ \n ͷϚον෦ (abc) =~ abc ([ab])\1
=~ aa
ϝλจࣈ ͦͷଞ . ҙͷࣈ | 03 ^ ߦ಄ ઌ಄ $
ߦ ඌ \ Τεέʔϓ .at =~ hat lic|sk =~ click ^fx =~ fxac eX$ =~ LaTeX \.a =~ .alsoc
େ·͔ͳྨ จࣈྻ ϝλจࣈ ͦͷଞͷจࣈΫϥε
ͦͷଞͷจࣈΫϥε 1FSMͷఆ͕ٛେຊͬΆ͍ 104*9Ϋϥε Θ ͳ͍Ͱ͢
ͦͷଞͷจࣈΫϥε \d ΞϥϏΞࣈ \w BMOVN \s ۭനจࣈ \d+ =~ 114514
\w+7 =~ k1ja7a9 a\s+b =~ d␣a␣␣b
ͦͷଞͷจࣈΫϥε \D [^\d] \W [^\w] \S [^\s]
ਖ਼نදݱ༻ྫ దʹσϞ͠·͢
·ͱΊ ਖ਼نදݱςΩετฤूͷڧ͍ຯํ ਖ਼نදݱϥΠϑϋοΫ ࠷ѱ.*͚֮ͩ͑ͱ͚େৎ