Skip to content

Extract/Repack strings from/to any code file | 从/向任何代码文件中提取/重封字符串

License

Notifications You must be signed in to change notification settings

UTCLC/StringsExtract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Search strings from whole file
Regex pattern: "((?:\\"|\\\\|\\[^"]|[^"\\])*)"
Output JSON key pattern: Filename:Line:Num
Filename = File name, contains relative path
Line = Line number
Num = The number of strings that appear in this line

UpdateLineAfterUpdated.py can update the line num in key of json when original file was updated (By DeepSeek)

从整个文件中搜寻字符串
正则表达式:"((?:\\"|\\\\|\\[^"]|[^"\\])*)"
输出的 JSON 的键格式:文件名:行:个
文件名:文件名,包含相对路径
行:第几行
个:这行出现的第几个字符串

UpdateLineAfterUpdated.py可以在原有文件更新后更新json中key的行数 (By DeepSeek)

About

Extract/Repack strings from/to any code file | 从/向任何代码文件中提取/重封字符串

Resources

License

Stars

Watchers

Forks

Languages