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
l3regex: TeX で実装された正規表現エンジン / l3regex
Search
Watson
October 18, 2019
Programming
1
830
l3regex: TeX で実装された正規表現エンジン / l3regex
Watson
October 18, 2019
Tweet
Share
More Decks by Watson
See All by Watson
LaTeX News斜め読み / texconf2024-ltnews
wtsnjp
0
60
Texdocのしくみ / texconf2024-texdoc
wtsnjp
0
46
Building Dataset for Grounding of Formulae — Annotating Coreference Relations Among Math Identifiers / lrec2022
wtsnjp
0
160
MioGatto による数式グラウンディング データセットの構築 / nlp2022
wtsnjp
0
540
MioGatto: A Math Identifier-oriented Grounding Annotation Tool / mathui2021
wtsnjp
0
350
日本語化プロジェクト 〜TeX Live と learnlatex.org〜 / localize
wtsnjp
0
1.3k
Dataset Creation for Grounding of Formulae / SCIDOCA2020
wtsnjp
0
350
A TeX-oriented Research Topic: Synthetic Analysis on Mathematical Expressions and Natural Language / tug2019
wtsnjp
0
200
Understanding Scientific Documents with Synthetic Analysis on Mathematical Expressions and Natural Language / cicm2019
wtsnjp
0
400
Other Decks in Programming
See All in Programming
なまけものオバケたち -PHP 8.4 に入った新機能の紹介-
tanakahisateru
1
120
Fibonacci Function Gallery - Part 1
philipschwarz
PRO
0
200
return文におけるstd::moveについて
onihusube
1
610
命名をリントする
chiroruxx
1
380
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
rails statsで大解剖 🔍 “B/43流” のRailsの育て方を歴史とともに振り返ります
shoheimitani
2
930
短期間での新規プロダクト開発における「コスパの良い」Goのテスト戦略」 / kamakura.go
n3xem
2
160
事業成長を爆速で進めてきたプロダクトエンジニアたちの成功談・失敗談
nealle
3
1.4k
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
890
競技プログラミングへのお誘い@阪大BOOSTセミナー
kotamanegi
0
350
Keeping it Ruby: Why Your Product Needs a Ruby SDK - RubyWorld 2024
envek
0
180
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
350
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
65
11k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.3k
Side Projects
sachag
452
42k
Done Done
chrislema
181
16k
Practical Orchestrator
shlominoach
186
10k
Building Adaptive Systems
keathley
38
2.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
Designing for humans not robots
tammielis
250
25k
Art, The Web, and Tiny UX
lynnandtonic
298
20k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Raft: Consensus for Rubyists
vanstee
137
6.7k
Transcript
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ l3regex: TEXͰ࣮͞Εͨ ਖ਼نදݱΤϯδϯ ேਓ (wtsnjp) Regex Festa
2019-10-18 1 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ؆୯ͳࣗݾհ ேਓ(wtsnjp) ▶ ϋϯυϧωʔϜɿϫτιϯ ▶ ൛γεςϜ TEX
͕େ͖ ˠ TEX Live νʔϜ ϝϯόʔ ▶ म࢜ 2 ʢ૯ݚେ / NII / ౦େʣ ▶ ݱࡏͷઐ߈ɿࣗવݴޠॲཧ (NLP) ......ͱশͭͭ͠ɼ࣮ͷݚڀରࣜ ʮͯ͢ͷಓ TEX ʹ௨ͣʯ 2 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ l3regexͷίί͕εΰΠʂ l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ϙΠϯτᶃ কདྷੑ͕εΰΠ ∵)
L A TEX3 ϓϩδΣΫτͷҰ෦ ϙΠϯτᶄ ࣮͕εΰΠ ∵) ଠݹͷݴޠ TEX Ͱ࣮͞Ε͍ͯΔ ϙΠϯτᶅ ࣮༻ੑ͕εΰΠ ∵) ໌͔ΒۀͰ͑Δ 3 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ϙΠϯτᶃ কདྷੑ͕εΰΠ L A TEX3 ϓϩδΣΫτ ▶
L A TEX2 ͷޙܧ ▶ 3 ϨΠϠߏʢܭըʣ ▶ 1990 தࠒ͔Β ˠ TEX քͷαάϥμ ϑΝϛϦΞ expl3 ϓϩάϥϛϯάݴޠ ʢ໊শະఆʣ ϨΠΞτઃܭݴޠ L A TEX3 ϚʔΫΞοϓݴޠ expl3 ݴޠ ▶ TEX ্ʹ࣮͞Εͨϓϩάϥϛϯάݴޠ ▶ L A TEX2 ։ൃऀάϧʔϓ͕อकɾ։ൃ ࢀߟɿϥϯάɾϥάʔʰTeX ݴޠऀͷͨΊͷ expl3 ೖʱ 4 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ϙΠϯτᶄ ࣮͕εΰΠ TEX ݴޠͷίί͕ΞϨ ▶ ໊લۭؒͷܽɼల։੍ޚɼ෭࡞༻ɼetc. ▶
ࣈ۟ղੳʹνϡʔϦϯάϚγϯ͕ඞཁʂ l3regex TEX ݴޠͰ࣮͞Ε͍ͯΔ ▶ l3regex ͷ࣮ɿTEX ݴޠͷ NFA Τϯδϯ ▶ TEX ύοέʔδ TEX ݴޠͰ࣮ͦ͜ਖ਼ٛ ∵) ͋ΒΏΔ TEX ڥɾॲཧܥͰಈ࡞ ʮTEX ʹ͍Δͱ͖ TEX ܳਓͷ͢ΔΑ͏ʹͤΑʯ 5 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ϙΠϯτᶅ ࣮༻ੑ͕εΰΠ l3regex ҙ֎ͱʢʁʣී௨ͷϥΠϒϥϦ RGB ࢦఆΛղੳ͢Δྫ 1
\regex_extract_once:nnN 2 { \A rgb([0-9x])([0-9x])([0-9x]) \Z } 3 { #1 } \l_coloring_temp_seq Ͳ͜Ͱ͑Δͷʁ ▶ TEX Live, MiKTEX ಋೖࡁ ⇔ Overleaf Ͱ OK ▶ TEX ॲཧܥɿpdfTEX, (u)pTEX, X E TEX, LuaTEX ˠ͓͓Αͦͷ TEX ڥͰ࠷ॳ͔Βར༻Մೳʂ ʮTEX 1 ʹͯ͠ͳΒͣʯ 6 / 7
l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ·ͱΊ l3regex: TEX Ͱ࣮͞Εͨਖ਼نදݱΤϯδϯ ϙΠϯτᶃ L A
TEX3 ͷҰ෦Ͱকདྷੑ͋Γ ϙΠϯτᶄ TEX ݴޠͰ࣮͞Ε͍ͯΔ ϙΠϯτᶅ ໌͔Β͑Δਖ਼نදݱϥΠϒϥϦ ৄࡉެࣜϦϑΝϨϯεΛࢀরɿ $ texdoc interface3 Thank you & Happy TEXing! 7 / 7