Merged in feat/sw-2874-move-select-rate (pull request #2750)
Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -65,12 +65,3 @@ export enum PaymentCallbackStatusEnum {
|
||||
Error = "error",
|
||||
Cancel = "cancel",
|
||||
}
|
||||
|
||||
export function combineRegExps(regexps: RegExp[], flags = "") {
|
||||
return new RegExp(regexps.map((r) => r.source).join("|"), flags)
|
||||
}
|
||||
|
||||
export const rateTypeRegex = {
|
||||
ARB: /(^B[a-z]{3}\d{6}$)/,
|
||||
VOUCHER: /(^VO[0-9a-z]*$)/,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user