7 kyu
Google Dorking - Validating Queries
223 of 384chr3st5an
Loading description...
Regular Expressions
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
The description claims that
gives exactly 1 result, but it gives 2 to me and will be more because some pages have "SIMILAR KATA:" section.
Not a great issue, but still...
I don't think it's a general issue, Pavloslav! It'd fit into the suggestion category though in my opinion. š
By the way, 1 result was the expected lookup count, most probably because the kata was in beta (I approved this morning after fixing issues). Once approved, the kata is more likely to be put into the "similar kata" as you said.
Description for which filters are valid is missing (as Voile mentioned) and has not been fixed in JavaScript. At least you should provide a preloaded array of allowed filters.
Patched kata descriptions so that this criteria can be easily understood, code has no problems.
.
The grammar of a filter (
<filter-name>:<value>
) has not been defined in the description. What exactly are the filter names ofallintext:kitten dogs animals after:2020
, orbreaking new site:amazingnew.org
? Why should we considersite
as filter name and notbreaking new site
?Hello,
I am sorry if it is not clear enough but filters are always followed by a
:
, e.g.allintext:blah
-> filter:allintext
, the value of the filter is hence on the right. Multiple filters are seperated by a space. Everything else belongs to the search query itself.allintext:kitten dogs animals after:2020
-> filters:allintext
,after
Hi again,
Issue part:
FILTERS
explicitly frompreloaded
Suggestion part:
Cheers
ā
I'm so dumb that I did not even see that I could access valid filters using FILTERS.
Great kata though!
To be honest, the description could have been much clearer (I fixed it after solving). I ran into the same problem too.
Hi,
This kind of situation is covered neither by the description nor by the fixed tests and showing up in the random tests:
intitle:XNELqBGbuGS:lhM
. Your solution expects False for this.... Why!??Cheers
Hello there,
(obviously) this was not supposed to happen. Should be fixed now!
Cheers
I have created yet another sometimes pass solution.
Issue should be fixed now
Sorry for not being more explicit; I was awful tired and using a faulty phone to code. Thanks for the fix.