Overview
Comment: | [core] fix bug about context |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core | rg |
Files: | files | file ages | folders |
SHA3-256: |
1fbd95d6f41404643a6a04a5420861ea |
User & Date: | olr on 2018-09-07 21:29:38 |
Other Links: | branch diff | manifest | tags |
Context
2018-09-10
| ||
08:19 | [core] gc engine: remove useless function call check-in: 00475b3f6b user: olr tags: core, rg | |
2018-09-07
| ||
21:29 | [core] fix bug about context check-in: 1fbd95d6f4 user: olr tags: core, rg | |
10:09 | [core] gc engine: code cleaning check-in: cc997fd621 user: olr tags: core, rg | |
Changes
Modified gc_core/py/lang_core/gc_engine.py from [9f26b926c3] to [60f5937577].
︙ | |||
669 670 671 672 673 674 675 | 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 | - - - + + + | "sRuleId": sRuleId, "sType": sOption if sOption else "notype", "sMessage": sMessage, "aSuggestions": lSugg, "URL": sURL } if bContext: |
︙ | |||
901 902 903 904 905 906 907 | 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 | - + - + - + - + | if sNegPattern: if sNegPattern == "*": # all morph must match sPattern zPattern = re.compile(sPattern) return all(zPattern.search(sMorph) for sMorph in lMorph) else: zNegPattern = re.compile(sNegPattern) |
︙ |