Project

General

Profile

Actions

Bug #12269

open

Regex in metadata.xml don't match when using .

Bug #12269: Regex in metadata.xml don't match when using .

Added by Benoît PECCATTE over 7 years ago. Updated 26 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Config management
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Infrequent - complex configurations | third party integrations
Effort required:
Very Small
Priority:
0
Name check:
Fix check:
Regression:
No

Description

Regex on input in metadata.xml are used to match multiline strings.
In this case, we expect to use the regex to match the whole input, so '^' '$' should match start and end of string and '.' should match newlines.

This means the regex should use both 'single line' (aka s) and 'multiple lines' (aka m) options.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #12263: Wrong regex in FileTemplate techniqueReleasedBenoît PECCATTEActions

Updated by Benoît PECCATTE over 7 years ago Actions #1

  • Related to Bug #12263: Wrong regex in FileTemplate technique added

Updated by Vincent MEMBRÉ over 7 years ago Actions #2

  • Target version changed from 4.1.11 to 4.1.12

Updated by Vincent MEMBRÉ over 7 years ago Actions #3

  • Target version changed from 4.1.12 to 4.1.13

Updated by Benoît PECCATTE over 7 years ago Actions #4

  • Target version changed from 4.1.13 to 411

Updated by Benoît PECCATTE over 7 years ago Actions #5

  • Target version changed from 411 to 4.1.13

Updated by Vincent MEMBRÉ over 7 years ago Actions #6

  • Target version changed from 4.1.13 to 4.1.14

Updated by Benoît PECCATTE over 7 years ago Actions #7

  • Target version changed from 4.1.14 to 4.1.15

Updated by François ARMAND about 7 years ago Actions #8

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Infrequent - complex configurations | third party integrations
  • Effort required set to Very Small
  • Priority changed from 0 to 46

[problematic ex: <CONSTRAINT><REGEX> in filetemplate)

So, what we want is the regex to be always multiline.

We believe this is not a breaking change because for now, a regex with ^$ would never match multiline fields, so such an input can't have been added.

The change should be only to modify "case class RegexConstraint" to always add DOTALL and MULTILINE modifiers.

Updated by Vincent MEMBRÉ about 7 years ago Actions #10

  • Target version changed from 4.1.15 to 4.1.16

Updated by Vincent MEMBRÉ about 7 years ago Actions #11

  • Target version changed from 4.1.16 to 4.1.17
  • Priority changed from 46 to 45

Updated by Vincent MEMBRÉ about 7 years ago Actions #12

  • Target version changed from 4.1.17 to 4.1.18

Updated by Vincent MEMBRÉ almost 7 years ago Actions #13

  • Target version changed from 4.1.18 to 4.1.19
  • Priority changed from 45 to 44

Updated by Alexis Mousset almost 7 years ago Actions #14

  • Target version changed from 4.1.19 to 4.1.20
  • Priority changed from 44 to 43

Updated by François ARMAND almost 7 years ago Actions #15

  • Target version changed from 4.1.20 to 4.1.21
  • Priority changed from 43 to 42

Updated by Vincent MEMBRÉ over 6 years ago Actions #16

  • Target version changed from 4.1.21 to 4.1.22

Updated by Vincent MEMBRÉ over 6 years ago Actions #17

  • Target version changed from 4.1.22 to 4.1.23

Updated by Vincent MEMBRÉ over 6 years ago Actions #18

  • Target version changed from 4.1.23 to 4.1.24

Updated by Vincent MEMBRÉ over 6 years ago Actions #19

  • Target version changed from 4.1.24 to 588

Updated by Alexis Mousset over 6 years ago Actions #20

  • Target version changed from 588 to 5.0.13

Updated by Vincent MEMBRÉ over 6 years ago Actions #21

  • Target version changed from 5.0.13 to 5.0.14

Updated by Vincent MEMBRÉ about 6 years ago Actions #22

  • Target version changed from 5.0.14 to 5.0.15

Updated by Vincent MEMBRÉ about 6 years ago Actions #23

  • Target version changed from 5.0.15 to 5.0.16

Updated by Alexis Mousset almost 6 years ago Actions #24

  • Target version changed from 5.0.16 to 5.0.17

Updated by Vincent MEMBRÉ over 5 years ago Actions #25

  • Target version changed from 5.0.17 to 5.0.18

Updated by Vincent MEMBRÉ over 5 years ago Actions #26

  • Target version changed from 5.0.18 to 5.0.19

Updated by Vincent MEMBRÉ over 5 years ago Actions #27

  • Target version changed from 5.0.19 to 5.0.20

Updated by Vincent MEMBRÉ about 5 years ago Actions #28

  • Target version changed from 5.0.20 to 797

Updated by Benoît PECCATTE over 4 years ago Actions #29

  • Target version changed from 797 to 6.1.14
  • Priority changed from 42 to 43

Updated by Vincent MEMBRÉ over 4 years ago Actions #30

  • Target version changed from 6.1.14 to 6.1.15

Updated by Vincent MEMBRÉ over 4 years ago Actions #31

  • Target version changed from 6.1.15 to 6.1.16
  • Priority changed from 43 to 44

Updated by Vincent MEMBRÉ over 4 years ago Actions #32

  • Target version changed from 6.1.16 to 6.1.17

Updated by Vincent MEMBRÉ about 4 years ago Actions #33

  • Target version changed from 6.1.17 to 6.1.18
  • Priority changed from 44 to 45

Updated by Vincent MEMBRÉ almost 4 years ago Actions #34

  • Target version changed from 6.1.18 to 6.1.19

Updated by Vincent MEMBRÉ over 3 years ago Actions #35

  • Target version changed from 6.1.19 to 6.1.20
  • Priority changed from 45 to 47

Updated by Vincent MEMBRÉ over 3 years ago Actions #36

  • Target version changed from 6.1.20 to 6.1.21

Updated by Vincent MEMBRÉ over 3 years ago Actions #37

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
  • Priority changed from 47 to 48

Updated by Benoît PECCATTE about 2 years ago Actions #38

  • Category changed from Techniques to Web - Config management
  • Target version changed from old 6.1 issues to relocate to 8.0.2
  • Priority changed from 48 to 0
  • Regression set to No

Updated by Vincent MEMBRÉ about 2 years ago Actions #39

  • Target version changed from 8.0.2 to 8.0.3

Updated by Vincent MEMBRÉ about 2 years ago Actions #40

  • Target version changed from 8.0.3 to 8.0.4

Updated by Vincent MEMBRÉ almost 2 years ago Actions #41

  • Target version changed from 8.0.4 to 8.0.5

Updated by Vincent MEMBRÉ almost 2 years ago Actions #42

  • Target version changed from 8.0.5 to 8.0.6

Updated by Vincent MEMBRÉ almost 2 years ago Actions #43

  • Target version changed from 8.0.6 to 8.0.7

Updated by Vincent MEMBRÉ over 1 year ago Actions #44

  • Target version changed from 8.0.7 to 8.0.8

Updated by Vincent MEMBRÉ over 1 year ago Actions #45

  • Target version changed from 8.0.8 to 8.0.9

Updated by Vincent MEMBRÉ over 1 year ago Actions #46

  • Target version changed from 8.0.9 to 8.0.10

Updated by Vincent MEMBRÉ over 1 year ago Actions #47

  • Target version changed from 8.0.10 to 1089

Updated by Alexis Mousset over 1 year ago Actions #48

  • Target version changed from 1089 to 8.1.6

Updated by Vincent MEMBRÉ over 1 year ago Actions #49

  • Target version changed from 8.1.6 to 8.1.7

Updated by Vincent MEMBRÉ about 1 year ago Actions #50

  • Target version changed from 8.1.7 to 8.1.8

Updated by Vincent MEMBRÉ about 1 year ago Actions #51

  • Target version changed from 8.1.8 to 8.1.9

Updated by Vincent MEMBRÉ about 1 year ago Actions #52

  • Target version changed from 8.1.9 to 8.1.10

Updated by Vincent MEMBRÉ about 1 year ago Actions #53

  • Target version changed from 8.1.10 to 8.1.11

Updated by Vincent MEMBRÉ 11 months ago Actions #54

  • Target version changed from 8.1.11 to 8.1.12

Updated by Vincent MEMBRÉ 10 months ago Actions #55

  • Target version changed from 8.1.12 to 8.1.13

Updated by Vincent MEMBRÉ 7 months ago Actions #56

  • Target version changed from 8.1.13 to 8.2.6

Updated by Vincent MEMBRÉ 7 months ago Actions #57

  • Target version changed from 8.2.6 to 8.2.7

Updated by Vincent MEMBRÉ 6 months ago Actions #58

  • Target version changed from 8.2.7 to 8.2.8

Updated by Félix DALLIDET 5 months ago Actions #59

  • Target version changed from 8.2.8 to 8.2.9

Updated by Vincent MEMBRÉ 3 months ago Actions #60

  • Target version changed from 8.2.9 to 1133

Updated by Alexis Mousset about 2 months ago Actions #61

  • Target version changed from 1133 to 8.3.6

Updated by Vincent MEMBRÉ 26 days ago Actions #62

  • Target version changed from 8.3.6 to 8.3.7
Actions

Also available in: PDF Atom