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
840
l3regex: TeX で実装された正規表現エンジン / l3regex
Watson
October 18, 2019
Tweet
Share
More Decks by Watson
See All by Watson
LaTeX News斜め読み / texconf2024-ltnews
wtsnjp
0
92
Texdocのしくみ / texconf2024-texdoc
wtsnjp
0
60
数式識別子の文書内曖昧性の解消 / nlp2024
wtsnjp
0
5
Building Dataset for Grounding of Formulae — Annotating Coreference Relations Among Math Identifiers / lrec2022
wtsnjp
0
170
MioGatto による数式グラウンディング データセットの構築 / nlp2022
wtsnjp
0
550
MioGatto: A Math Identifier-oriented Grounding Annotation Tool / mathui2021
wtsnjp
0
360
日本語化プロジェクト 〜TeX Live と learnlatex.org〜 / localize
wtsnjp
0
1.3k
Dataset Creation for Grounding of Formulae / SCIDOCA2020
wtsnjp
0
360
A TeX-oriented Research Topic: Synthetic Analysis on Mathematical Expressions and Natural Language / tug2019
wtsnjp
0
200
Other Decks in Programming
See All in Programming
知られざるDMMデータエンジニアの生態 〜かつてツチノコと呼ばれし者〜
takaha4k
0
110
ドメインイベント増えすぎ問題
h0r15h0
2
560
Alba: Why, How and What's So Interesting
okuramasafumi
0
200
asdf-ecspresso作って 友達が増えた話 / Fujiwara Tech Conference 2025
koluku
0
1.3k
HTML/CSS超絶浅い説明
yuki0329
0
190
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
6
700
AppRouterを用いた大規模サービス開発におけるディレクトリ構成の変遷と問題点
eiganken
1
440
functionalなアプローチで動的要素を排除する
ryopeko
1
190
Jaspr Dart Web Framework 박제창 @Devfest 2024
itsmedreamwalker
0
150
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
8
1.9k
毎日13時間もかかるバッチ処理をたった3日で60%短縮するためにやったこと
sho_ssk_
1
530
サーバーゆる勉強会 DBMS の仕組み編
kj455
1
300
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Music & Morning Musume
bryan
46
6.3k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
45
2.3k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
7
570
A Tale of Four Properties
chriscoyier
157
23k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
4 Signs Your Business is Dying
shpigford
182
22k
Automating Front-end Workflow
addyosmani
1366
200k
Building Your Own Lightsaber
phodgson
104
6.2k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
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