Regular expression fixes.
This commit is contained in:
parent
811ac7aea3
commit
f52beba3d8
@ -48,6 +48,8 @@ doomGames=(
|
||||
|
||||
export antiGrepStrings=(
|
||||
'-E' '-v'
|
||||
'-e' '^(Decal|Fluidsynth|Load|Parse)[^ ]+'
|
||||
'-e' '^OS: .*Linux, Linux .*'
|
||||
'-e' '^Resolution:'
|
||||
'-e' '^\[Toby Accessibility Mod\] (INTRO|READMe)([0-9]+).*'
|
||||
)
|
||||
@ -55,7 +57,7 @@ export antiGrepStrings=(
|
||||
export grepStrings=(
|
||||
'-E'
|
||||
'-e' '^\[Toby Accessibility Mod\]'
|
||||
'-e' '^[A-Z][0-9a-z]+: .+'
|
||||
'-e' '^[A-Z][0-9A-Za-z]+: .+'
|
||||
'-e' 'is now known as'
|
||||
'-e' '.+ punched .+ to death\.'
|
||||
'-e' 'stood where'
|
||||
@ -64,7 +66,6 @@ export grepStrings=(
|
||||
'-e' 'chewed on'
|
||||
'-e' 'The maximum'
|
||||
'-e' 'swapped two barrels'
|
||||
'-e' 'MAP[0-9]+'
|
||||
'-e' 'swallowed too much of'
|
||||
'-e' 'exited the level'
|
||||
'-e' 'joined the game'
|
||||
@ -77,17 +78,17 @@ export grepStrings=(
|
||||
'-e' '^You have no keys in your pocket!$'
|
||||
)
|
||||
|
||||
export sedStrings=(
|
||||
export sedStrings=('-E'
|
||||
'-e' 's/^\[Toby Accessibility Mod\] M_/[Toby Accessibility Mod] /'
|
||||
'-e' 's/^\[Toby Accessibility Mod\] //'
|
||||
'-e' 's/^MessageBoxMenu$/Press Y for yes or N for no/'
|
||||
'-e' 's/"^Mainmenu$/Main menu/'
|
||||
'-e' 's/"^Skillmenu$/Difficulty menu/'
|
||||
'-e' 's/"^NGAME$/New game/'
|
||||
'-e' 's/"^(LOAD|SAVE|QUIT)G$/& game/'
|
||||
'-e' 's/^Mainmenu$/Main menu/'
|
||||
'-e' 's/^Skillmenu$/Difficulty menu/'
|
||||
'-e' 's/^NGAME$/New game/'
|
||||
'-e' 's/^(LOAD|SAVE|QUIT)G$/\1 game/'
|
||||
'-e' 's/"cl_run" = "true"/run/'
|
||||
'-e' 's/"cl_run" = "false"/walk/'
|
||||
'-e' 's:.*/:Game saved. \(:'
|
||||
#'-e' 's:.*/:Game saved. \(:'
|
||||
)
|
||||
|
||||
custom_game() {
|
||||
|
Loading…
Reference in New Issue
Block a user