regex

package
v0.0.0-...-7553a0f Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FILENAME_PATTERN = "^(\\S+)_(\\S+)_(\\S+)" + "_REQ_" + "(\\S+)_(\\S+)\\.(json|xml|zip)$"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FilenameReq

type FilenameReq struct {
	AppId       string `json:"appId"`
	FilenamePre string `json:"filenamePre"`
	Filename    string `json:"filename"`
	Timestamp   string `json:"timestamp"`
}

func MatchFileName

func MatchFileName(filename string) (*FilenameReq, error)

Jump to

Keyboard shortcuts

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