Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Python

r"
[+·`\-::]*?([\u4e00-\u9fa5]+)[+\-](\d+([.::]\d){0,2})(%|0/0|0\|0|010)?
"
gm

Description

用于游戏“原神”的圣遗物OCR结果中的副属性识别

Submitted by Wansn - 3 years ago