We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d55d2e commit 61e31b3Copy full SHA for 61e31b3
spec/ParseQuery.spec.js
@@ -2113,6 +2113,19 @@ describe('Parse.Query testing', () => {
2113
.then(done);
2114
});
2115
2116
+ it('regex with unicode option', function (done) {
2117
+ const thing = new TestObject();
2118
+ thing.set('myString', 'hello 世界');
2119
+ Parse.Object.saveAll([thing]).then(function () {
2120
+ const query = new Parse.Query(TestObject);
2121
+ query.matches('myString', '世界', 'u');
2122
+ query.find().then(function (results) {
2123
+ equal(results.length, 1);
2124
+ done();
2125
+ });
2126
2127
2128
+
2129
it_id('823852f6-1de5-45ba-a2b9-ed952fcc6012')(it)('Use a regex that requires all modifiers', function (done) {
2130
const thing = new TestObject();
2131
thing.set('myString', 'PArSe\nCom');
0 commit comments