Grammalecte  Diff

Differences From Artifact [fb072c0f7f]:

To Artifact [225ec72077]:


1029
1030
1031
1032
1033
1034
1035
1036
1037

1038
1039
1040
1041
1042
1043
1044
1045
1046
1029
1030
1031
1032
1033
1034
1035


1036


1037
1038
1039
1040
1041
1042
1043







-
-
+
-
-







    let m = zPattern.gl_exec2(s, null);
    if (!m) {
        return false;
    }
    try {
        let sWord = m[1];
        let nPos = m.start[1] + nOffset;
        if (sNegPatternGroup1) {
            return morph(dTokenPos, [nPos, sWord], sPatternGroup1, sNegPatternGroup1);
        return morph(dTokenPos, [nPos, sWord], sPatternGroup1, sNegPatternGroup1);
        }
        return morph(dTokenPos, [nPos, sWord], sPatternGroup1, false);
    }
    catch (e) {
        console.error(e);
        return false;
    }
}