spelling: beginning

Signed-off-by: Josh Soref <[email protected]>
This commit is contained in:
Josh Soref
2024-10-29 16:55:43 +01:00
committed by Jindra Petřík
parent 611c3cd85e
commit eeaa0719b2
3 changed files with 4 additions and 4 deletions
@@ -448,7 +448,7 @@ public class CssSelectorToXPath {
return buf.toString();
}
// Find the begining of the selector, starting at i and working backwards
// Find the beginning of the selector, starting at i and working backwards
private int selectorStart(String s, int i) {
int depth = 0;
int offset = 0;
@@ -707,7 +707,7 @@ public class CssSelectorToXPath {
s = escapeChar(s, '[', ']', filter_char);
s = s.replace(/(\x1D+)\]\[\1(.+?[^\x1D])\1\]/g, ' and ($2)$1]')
*/
s = prependAxis(s, ".//"); // prepend ".//" axis to begining of CSS selector
s = prependAxis(s, ".//"); // prepend ".//" axis to beginning of CSS selector
return s;
}