define(['backbone', 'backbone-validation'], function(Backbone) {

    _.extend(Backbone.Validation.patterns, {
        wwsdash: /^(\w|\s|\-)+$/,
        wwsbdash: /^(\w|\s|\-|\(|\))+$/,
        wwdash: /^(\w|\-)+$/,
        datetime: /^\d\d-\d\d-\d\d\d\d \d\d:\d\d$/,
        edate: /^\d\d-\d\d-\d\d\d\d$/,
        word: /^\w+$/,
        fcode: /^DLS\-(MX|IN)\-\d\d\d\d$/i,
        datetime: /\d+-\d+-\d+ \d+:\d+/,
        sequence: /[>|;|\w+|\n]/,
        address: /^(\w|\s|\-|\n)+$/,
    });
    
    _.extend(Backbone.Validation.messages, {
        required: 'This field is required',
        wwsdash: 'This field must contain only letters, numbers, spaces, underscores, and dashes',
        wwdash: 'This field must contain only letters, numbers, underscores, and dashes',
        datetime: 'Please specify a valid date and time',
        edate: 'Please specify a valid date (european style)',
        word: 'This field must contain only letters and numbers',
        fcode: 'This field must be of the format DLS-MX-XXXX',
        datetime: 'This field must be of the format DD-MM-YYYY HH:MM',
        sequence: 'This field may only contain word characters and line returns',
        address: 'This field may only contain word character, spaces, and line returns',
    });

})
@@ -431,20 +431,30 @@
 e: /
+%5E
 %5B%3E
-%7C;%7C
+;%5Cs
 %5Cw+
-%7C
 %5Cn
-%5D
+%5C(%5C)%5C.%5C%7C%5D+$
 /,%0A 

update sequence validator