regex_things

package
v0.45.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ReCutDoubleLanguage = regexp.MustCompile(`(?i)(.*)\\N(.*)`)
View Source
var ReMatchBrace = regexp.MustCompile(`(?m)((?i){[^}]*})`)

ReMatchBrace 匹配花括号中的内容

View Source
var ReMatchBracket = regexp.MustCompile(`(?m)((?i)\[[^]]*\])`)
View Source
var ReMatchDialogueASS = regexp.MustCompile(regStringASS)
View Source
var ReMatchDialogueSRT = regexp.MustCompile(regStringSRT)
View Source
var ReMatchDialogueSRT2 = regexp.MustCompile(regStringSRT2)
View Source
var ReMatchDialogueTimeSRT = regexp.MustCompile(regStringSRTime)
View Source
var ReMatchDialogueTimeSRT2 = regexp.MustCompile(regStringSRTime2)
View Source
var ReMatchIP = regexp.MustCompile(regMatchIP)
View Source
var ReMatchSrtSubtitleEffects = regexp.MustCompile(`(?m)([1-9]\d*\.?\d*)|(0\.\d*[1-9])`)

匹配 srt 的字幕特效,需要移除这些

View Source
var ReMathLogOneLine = regexp.MustCompile(regStringMathLogOneLine)

匹配目前日志记录的格式的一行

View Source
var RegMatchSpString = regexp.MustCompile(`(?m)[\p{P}|\p{Z}}}|\p{S}\s|\t|\v]`)

RegMatchSpString 替换特殊字符 var RegMatchSpString = regexp.MustCompile(`(?i)[^\w\s]`)

View Source
var RegOneSeasonSubFolderNameMatch = regexp.MustCompile(`(?m)^Sub_S\dE0`)

RegOneSeasonSubFolderNameMatch 每个视频文件夹下的缓存文件夹名称,一个季度的

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL