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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Watson
October 18, 2019
Programming
1k
1
Share
l3regex: TeX で実装された正規表現エンジン / l3regex
Watson
October 18, 2019
More Decks by Watson
See All by Watson
Recent Status of the TeX Community in Japan / bachotex2025
wtsnjp
1
190
LaTeX News斜め読み / texconf2024-ltnews
wtsnjp
0
260
Texdocのしくみ / texconf2024-texdoc
wtsnjp
0
160
数式識別子の文書内曖昧性の解消 / nlp2024
wtsnjp
0
80
Building Dataset for Grounding of Formulae — Annotating Coreference Relations Among Math Identifiers / lrec2022
wtsnjp
0
260
MioGatto による数式グラウンディング データセットの構築 / nlp2022
wtsnjp
0
670
MioGatto: A Math Identifier-oriented Grounding Annotation Tool / mathui2021
wtsnjp
0
450
日本語化プロジェクト 〜TeX Live と learnlatex.org〜 / localize
wtsnjp
0
1.4k
Dataset Creation for Grounding of Formulae / SCIDOCA2020
wtsnjp
0
470
Other Decks in Programming
See All in Programming
ローカルLLMでどこまでコードが書けるか / How much code can be written on a local LLM
kishida
2
340
空間オーディオの活用
objectiveaudio
0
140
Structured Concurrency, Scoped Values and Joiners in the JDK 25 26 27
josepaumard
1
150
アクセシビリティ試験の"その後"を仕組み化する
yuuumiravy
1
200
サークル参加から学ぶ、小さな事業の回し方
yuzneri
0
160
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
260
mruby on C#: From VM Implementation to Game Scripting (RubyKaigi 2026)
hadashia
2
1.7k
The Less-Told Story of Socket Timeouts
coe401_
3
1.1k
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
570
cloudnative conference 2026 flyle
azihsoyn
0
160
Kubernetesを使わない環境にもCloud Nativeなデプロイを実現する / Enabling Cloud Native deployments without the complexity of Kubernetes
linyows
3
360
t *testing.T は どこからやってくるの?
otakakot
1
920
Featured
See All Featured
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
170
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
180
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
550
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
400
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.5k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
510
A designer walks into a library…
pauljervisheath
211
24k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.3k
A Modern Web Designer's Workflow
chriscoyier
698
190k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Building Flexible Design Systems
yeseniaperezcruz
330
40k
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