Google搜索引擎:如何搜索模式

时间:2019-04-30 15:32:19

标签: search-engine google-search

我想知道是否可以搜索模式(更像是正则表达式模式)。

例如,在python中,正则表达式awk -v search="A 2,B 556" ' ##Starting awk program here, where mentioning a variable named search which will have your serach values in form of one_value, another_value etc.(as per OP post) flag{ ##Checking condition if variable flag is NOT NULL then do following. print array2[2],$2 ##Printing value of array2 element whose index is 2 and $2 of current line. flag="" ##Nullifying variable flag here. val=array2[2] ##Creating variable val whose value is array2 value with index 2 here. } { num=split(search,array1,",") ##Splitting variable search into array1 whose delimiter is comma. } { for(i=1;i<=num;i++){ ##Starting a for loop from i=1 to till value of num(which is length of array1). split(array1[i],array2," ") ##Splitting array1 value of index i with delimiter space into array2. if($1==array2[1] && $2==array2[2]){ ##Checking condition if array2 with index 1 value equals to $1 and array2 with index 2 value equals to $2. flag=1 ##Setting variable flag value to 1 here. next ##Using next keyword of awk to skip all further statements from here. } } } ' Input_file ##Mentioning Input_file name here. 将返回“ Food”之类的单词。我想使用谷歌搜索引擎做同样的事情。

我的问题“有可能实现这一目标吗?”。

1 个答案:

答案 0 :(得分:1)

否,Google当前不允许部分单词搜索。当我说Youtube或Gmail时,我一再发现这是必需的。