validation
2026
從 100 行 Regex 到 Lucene Parser:複雜驗證邏輯的重構之路
2026-01-20 2026-01-20
最近在維護一個關鍵字搜尋功能時,遇到了一個經典的工程問題:手寫的 Regex 驗證邏輯越來越難維護,每次修 bug 都像在拆炸彈。
2026 (3)
2025 (4)
十二月 (3)
2024 (4)
三月 (1)
2021 (1)
2020 (1)
typescript (5)
nuxt (4)
vue (4)
vue3 (4)
隨筆 (4)
nuxt3 (3)
google (2)
javascript (2)
stock (2)
vue-router (2)
台股 (2)
$fetch (1)
00713 (1)
00878 (1)
00919 (1)
00929 (1)
00939 (1)
00940 (1)
ETF (1)
ast (1)
axios (1)
backend (1)
bash (1)
bigquery (1)
cloud run (1)
design-pattern (1)
finlab (1)
google calendar (1)
google drive (1)
jamstack (1)
lucene (1)
mac (1)
memory leak (1)
next.js (1)
node.js (1)
nodejs (1)
nuxt content (1)
nuxt2 (1)
observer-pattern (1)
ofetch (1)
oom (1)
parser (1)
peg.js (1)
pinia (1)
python (1)
react (1)
refactoring (1)
regex (1)
stream (1)
type-predicates (1)
type-safety (1)
validation (1)
vue2 (1)
旅遊 (1)
日本 (1)
閒聊 (1)
高股息 (1)
高股息 ETF (1)