You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This would be really nice to have fixed. This is kind of obnoxious to work around with if/else blocks of regex's. For example, each line below results in an error from jsstlye (and yes, you can use BEGIN - END, but still).
0 } else if (/^;; QUESTION SECTION:/.test(l)) {
51 section = 'question';
52 } else if (/^;; ANSWER SECTION:/.test(l)) {
53 section = 'answer';
54 } else if (/^;; ADDITIONAL SECTION:/.test(l)) {
55 section = 'additional';
56 } else if (/^;; AUTHORITY SECTION:/.test(l)) {
57 section = 'authority';
58 }
59
60 if (section === 'question') {
61 if (/^;([A-Za-z0-9])*\./.test(l)) {
62 results.question =
63 l.match(/([A-Za-z0-9_\-\.])+/)[0];
64 }
65 }
66
67 if (section === 'answer') {
68 if (/^([_A-Za-z0-9])+/.test(l)) {
69 var tokens = l.match(/(.*)/)[0].split(/\t/);
Error: missing blank before close comment on:
and
The text was updated successfully, but these errors were encountered: