Skip to content

Commit

Permalink
v-uiId may be the last value (#1731)
Browse files Browse the repository at this point in the history
* v-uiId may be the last value

Fix regex so that ti doesn't matter if
the 'v-uiId' is in between the properties
and has a comma at the end or if it's the last
property and doesn't have a comma.
  • Loading branch information
caalador authored and Denis committed Jun 1, 2017
1 parent b6b00f9 commit bfdb42a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class ExpenseCreation extends Simulation {
val uidlHeaders = Map("Content-Type" -> "application/json; charset=UTF-8")

val storeUiId =
regex(""""v-uiId":\s(\d+),""")
regex(""""v-uiId":\s(\d+)""")
.saveAs("uiId")
val storeSecurityKey =
regex(""""Vaadin-Security-Key":\s"([^"]*)""")
Expand Down

0 comments on commit bfdb42a

Please sign in to comment.