Ruby | StringScanner check_until function
StringScanner#check_until() : check_until() is a StringScanner class method which returns the value that scan_until would return, without advancing the scan pointer. Syntax: StringScanner.check_until() Parameter: StringScanner values Return: the value that scan_until would return, without advancing