mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
fix typo
This commit is contained in:
@@ -499,10 +499,10 @@ private module CharacterClasses {
|
|||||||
/** Gets a representative for all char classes that match the same chars as `c`. */
|
/** Gets a representative for all char classes that match the same chars as `c`. */
|
||||||
CharacterClass normalize(CharacterClass c) {
|
CharacterClass normalize(CharacterClass c) {
|
||||||
exists(string normalization |
|
exists(string normalization |
|
||||||
normalization = getMormalizationString(c) and
|
normalization = getNormalizationString(c) and
|
||||||
result =
|
result =
|
||||||
min(CharacterClass cc, string raw |
|
min(CharacterClass cc, string raw |
|
||||||
getMormalizationString(cc) = normalization and cc = CharClass(raw)
|
getNormalizationString(cc) = normalization and cc = CharClass(raw)
|
||||||
|
|
|
|
||||||
cc order by raw
|
cc order by raw
|
||||||
)
|
)
|
||||||
@@ -510,7 +510,7 @@ private module CharacterClasses {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Gets a string representing all the chars matched by `c` */
|
/** Gets a string representing all the chars matched by `c` */
|
||||||
private string getMormalizationString(CharacterClass c) {
|
private string getNormalizationString(CharacterClass c) {
|
||||||
(c instanceof PositiveCharacterClass or c instanceof PositiveCharacterClassEscape) and
|
(c instanceof PositiveCharacterClass or c instanceof PositiveCharacterClassEscape) and
|
||||||
result = concat(string char | c.matches(char) and char = CharacterClasses::getARelevantChar())
|
result = concat(string char | c.matches(char) and char = CharacterClasses::getARelevantChar())
|
||||||
or
|
or
|
||||||
|
|||||||
@@ -499,10 +499,10 @@ private module CharacterClasses {
|
|||||||
/** Gets a representative for all char classes that match the same chars as `c`. */
|
/** Gets a representative for all char classes that match the same chars as `c`. */
|
||||||
CharacterClass normalize(CharacterClass c) {
|
CharacterClass normalize(CharacterClass c) {
|
||||||
exists(string normalization |
|
exists(string normalization |
|
||||||
normalization = getMormalizationString(c) and
|
normalization = getNormalizationString(c) and
|
||||||
result =
|
result =
|
||||||
min(CharacterClass cc, string raw |
|
min(CharacterClass cc, string raw |
|
||||||
getMormalizationString(cc) = normalization and cc = CharClass(raw)
|
getNormalizationString(cc) = normalization and cc = CharClass(raw)
|
||||||
|
|
|
|
||||||
cc order by raw
|
cc order by raw
|
||||||
)
|
)
|
||||||
@@ -510,7 +510,7 @@ private module CharacterClasses {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Gets a string representing all the chars matched by `c` */
|
/** Gets a string representing all the chars matched by `c` */
|
||||||
private string getMormalizationString(CharacterClass c) {
|
private string getNormalizationString(CharacterClass c) {
|
||||||
(c instanceof PositiveCharacterClass or c instanceof PositiveCharacterClassEscape) and
|
(c instanceof PositiveCharacterClass or c instanceof PositiveCharacterClassEscape) and
|
||||||
result = concat(string char | c.matches(char) and char = CharacterClasses::getARelevantChar())
|
result = concat(string char | c.matches(char) and char = CharacterClasses::getARelevantChar())
|
||||||
or
|
or
|
||||||
|
|||||||
@@ -499,10 +499,10 @@ private module CharacterClasses {
|
|||||||
/** Gets a representative for all char classes that match the same chars as `c`. */
|
/** Gets a representative for all char classes that match the same chars as `c`. */
|
||||||
CharacterClass normalize(CharacterClass c) {
|
CharacterClass normalize(CharacterClass c) {
|
||||||
exists(string normalization |
|
exists(string normalization |
|
||||||
normalization = getMormalizationString(c) and
|
normalization = getNormalizationString(c) and
|
||||||
result =
|
result =
|
||||||
min(CharacterClass cc, string raw |
|
min(CharacterClass cc, string raw |
|
||||||
getMormalizationString(cc) = normalization and cc = CharClass(raw)
|
getNormalizationString(cc) = normalization and cc = CharClass(raw)
|
||||||
|
|
|
|
||||||
cc order by raw
|
cc order by raw
|
||||||
)
|
)
|
||||||
@@ -510,7 +510,7 @@ private module CharacterClasses {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Gets a string representing all the chars matched by `c` */
|
/** Gets a string representing all the chars matched by `c` */
|
||||||
private string getMormalizationString(CharacterClass c) {
|
private string getNormalizationString(CharacterClass c) {
|
||||||
(c instanceof PositiveCharacterClass or c instanceof PositiveCharacterClassEscape) and
|
(c instanceof PositiveCharacterClass or c instanceof PositiveCharacterClassEscape) and
|
||||||
result = concat(string char | c.matches(char) and char = CharacterClasses::getARelevantChar())
|
result = concat(string char | c.matches(char) and char = CharacterClasses::getARelevantChar())
|
||||||
or
|
or
|
||||||
|
|||||||
@@ -499,10 +499,10 @@ private module CharacterClasses {
|
|||||||
/** Gets a representative for all char classes that match the same chars as `c`. */
|
/** Gets a representative for all char classes that match the same chars as `c`. */
|
||||||
CharacterClass normalize(CharacterClass c) {
|
CharacterClass normalize(CharacterClass c) {
|
||||||
exists(string normalization |
|
exists(string normalization |
|
||||||
normalization = getMormalizationString(c) and
|
normalization = getNormalizationString(c) and
|
||||||
result =
|
result =
|
||||||
min(CharacterClass cc, string raw |
|
min(CharacterClass cc, string raw |
|
||||||
getMormalizationString(cc) = normalization and cc = CharClass(raw)
|
getNormalizationString(cc) = normalization and cc = CharClass(raw)
|
||||||
|
|
|
|
||||||
cc order by raw
|
cc order by raw
|
||||||
)
|
)
|
||||||
@@ -510,7 +510,7 @@ private module CharacterClasses {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/** Gets a string representing all the chars matched by `c` */
|
/** Gets a string representing all the chars matched by `c` */
|
||||||
private string getMormalizationString(CharacterClass c) {
|
private string getNormalizationString(CharacterClass c) {
|
||||||
(c instanceof PositiveCharacterClass or c instanceof PositiveCharacterClassEscape) and
|
(c instanceof PositiveCharacterClass or c instanceof PositiveCharacterClassEscape) and
|
||||||
result = concat(string char | c.matches(char) and char = CharacterClasses::getARelevantChar())
|
result = concat(string char | c.matches(char) and char = CharacterClasses::getARelevantChar())
|
||||||
or
|
or
|
||||||
|
|||||||
Reference in New Issue
Block a user