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
800
l3regex: TeX で実装された正規表現エンジン / l3regex
Watson
October 18, 2019
Tweet
Share
More Decks by Watson
See All by Watson
Building Dataset for Grounding of Formulae — Annotating Coreference Relations Among Math Identifiers / lrec2022
wtsnjp
0
140
MioGatto による数式グラウンディング データセットの構築 / nlp2022
wtsnjp
0
520
MioGatto: A Math Identifier-oriented Grounding Annotation Tool / mathui2021
wtsnjp
0
340
日本語化プロジェクト 〜TeX Live と learnlatex.org〜 / localize
wtsnjp
0
1.3k
Dataset Creation for Grounding of Formulae / SCIDOCA2020
wtsnjp
0
340
A TeX-oriented Research Topic: Synthetic Analysis on Mathematical Expressions and Natural Language / tug2019
wtsnjp
0
190
Understanding Scientific Documents with Synthetic Analysis on Mathematical Expressions and Natural Language / cicm2019
wtsnjp
0
390
A Quantitative Evaluation of Natural Language Question Interpretation for Questions Answering Systems / jist2018
wtsnjp
0
330
llmk: 新時代の LaTeX 文書ビルドツール / llmk
wtsnjp
1
2.3k
Other Decks in Programming
See All in Programming
生成 AI を活用した toitta 切片分類機能の裏側 / Inside toitta's AI-Based Factoid Clustering
pokutuna
0
580
Tuning GraphQL on Rails
pyama86
2
1k
WEBエンジニア向けAI活用入門
sutetotanuki
0
300
デプロイを任されたので、教わった通りにデプロイしたら障害になった件 ~俺のやらかしを越えてゆけ~
techouse
52
32k
Content Security Policy入門 セキュリティ設定と 違反レポートのはじめ方 / Introduction to Content Security Policy Getting Started with Security Configuration and Violation Reporting
uskey512
1
430
詳細解説! ArrayListの仕組みと実装
yujisoftware
0
480
VR HMDとしてのVision Pro+ゲーム開発について
yasei_no_otoko
0
100
Java ジェネリクス入門 2024
nagise
0
600
約9000個の自動テストの 時間を50分->10分に短縮 Flakyテストを1%以下に抑えた話
hatsu38
23
11k
Android 15 でアクションバー表示時にステータスバーが白くなってしまう問題
tonionagauzzi
0
140
PagerDuty を軸にした On-Call 構築と運用課題の解決 / PagerDuty Japan Community Meetup 4
horimislime
1
110
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
340
Featured
See All Featured
The MySQL Ecosystem @ GitHub 2015
samlambert
250
12k
Raft: Consensus for Rubyists
vanstee
136
6.6k
Learning to Love Humans: Emotional Interface Design
aarron
272
40k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
9
680
Designing the Hi-DPI Web
ddemaree
280
34k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
107
49k
Git: the NoSQL Database
bkeepers
PRO
425
64k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
328
21k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Making the Leap to Tech Lead
cromwellryan
132
8.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Bash Introduction
62gerente
608
210k
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