File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed
ruby/ql/lib/codeql/ruby/regexp Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -750,10 +750,6 @@ class RegExpGroup extends RegExpTerm, TRegExpGroup {
750750 /** Gets the name of this capture group, if any. */
751751 string getName ( ) { result = re .getGroupName ( start , end ) }
752752
753- predicate isCharacter ( ) { any ( ) }
754-
755- string getValue ( ) { result = re .getText ( ) .substring ( start , end ) }
756-
757753 override RegExpTerm getChild ( int i ) {
758754 result .getRegExp ( ) = re and
759755 i = 0 and
@@ -852,8 +848,6 @@ class RegExpCaret extends RegExpSpecialChar {
852848class RegExpZeroWidthMatch extends RegExpGroup {
853849 RegExpZeroWidthMatch ( ) { re .zeroWidthMatch ( start , end ) }
854850
855- override predicate isCharacter ( ) { any ( ) }
856-
857851 override RegExpTerm getChild ( int i ) { none ( ) }
858852
859853 override string getAPrimaryQlClass ( ) { result = "RegExpZeroWidthMatch" }
You can’t perform that action at this time.
0 commit comments