regular exp updated on model
This commit is contained in:
@@ -2,9 +2,11 @@ import re
|
||||
|
||||
class RegularExpression:
|
||||
|
||||
# sum field of pipe laying (pipe_150_mm)
|
||||
# sum fields of TrEx, MhEx (_total)
|
||||
STR_TOTAL_PATTERN = re.compile(r".*_total$")
|
||||
|
||||
# sum fields of pipe laying (pipe_150_mm)
|
||||
PIPE_MM_PATTERN = re.compile(r"^pipe_\d+_mm$")
|
||||
|
||||
|
||||
# sum fields of MH dc (d_0_to_0_75)
|
||||
D_RANGE_PATTERN = re.compile( r"^d_\d+(?:_\d+)?_to_\d+(?:_\d+)?$")
|
||||
|
||||
D_RANGE_PATTERN = re.compile( r"^d_\d+(?:_\d+)?_to_\d+(?:_\d+)?$")
|
||||
Reference in New Issue
Block a user