File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed
javascript/ql/src/Performance
java/ql/src/Security/CWE/CWE-730
python/ql/src/Security/CWE-730
ruby/ql/src/queries/security/cwe-1333 Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1111 Consider this regular expression:
1212 </p >
1313 <sample language =" java" >
14- ^_(__|.)+_$
15- </sample >
14+ ^_(__|.)+_$</sample >
1615 <p >
1716 Its sub-expression <code >"(__|.)+?"</code > can match the string <code >"__"</code > either by the
1817 first alternative <code >"__"</code > to the left of the <code >"|"</code > operator, or by two
Original file line number Diff line number Diff line change 1111 Consider this regular expression:
1212 </p >
1313 <sample language =" javascript" >
14- /^_(__|.)+_$/
15- </sample >
14+ /^_(__|.)+_$/</sample >
1615 <p >
1716 Its sub-expression <code >"(__|.)+?"</code > can match the string <code >"__"</code > either by the
1817 first alternative <code >"__"</code > to the left of the <code >"|"</code > operator, or by two
Original file line number Diff line number Diff line change 1111 Consider this regular expression:
1212 </p >
1313 <sample language =" python" >
14- ^_(__|.)+_$
15- </sample >
14+ ^_(__|.)+_$</sample >
1615 <p >
1716 Its sub-expression <code >"(__|.)+?"</code > can match the string <code >"__"</code > either by the
1817 first alternative <code >"__"</code > to the left of the <code >"|"</code > operator, or by two
Original file line number Diff line number Diff line change 44 <example >
55 <p >Consider this regular expression:</p >
66 <sample language =" ruby" >
7- /^_(__|.)+_$/
8- </sample >
7+ /^_(__|.)+_$/</sample >
98 <p >
109 Its sub-expression <code >"(__|.)+?"</code > can match the string
1110 <code >"__"</code > either by the first alternative <code >"__"</code > to the
You can’t perform that action at this time.
0 commit comments