CGBTN2108-DAY12 summary review

DAY12 review 1. Regular expression Function: take the rules we specify to judge whether the data conforms to this rule Specify rule: String regex = "[0-9]{17}[0-9X]";Compare the data with the rule: input.matches(regex) – > if it matches, the matches method returns true 2. Packaging There are only two types of data types ...

Posted by lancet2003 on Sat, 18 Sep 2021 05:25:20 -0700

sed advanced command N, D

sed advanced command brief introduction Sed is a stream editor. It is a very important tool in text processing. It can be used perfectly with regular expressions and has extraordinary functions. During processing, the currently processed line is stored in a temporary buffer called "pattern space", and then the contents in the bu ...

Posted by lmninfo on Fri, 17 Sep 2021 02:50:47 -0700

Spring Cloud Gateway's built-in filter factory

Spring Cloud Gateway's built-in filter factory Built-in filter factory Here is a simple table of all the filter factories built into Spring Cloud Gateway. Filter FactoryEffectparameterAddRequestHeaderAdd a Header for the original requestName and value of HeaderAddRequestParameterAdd request parameters to the original requestParameter name an ...

Posted by methodman on Thu, 09 Sep 2021 11:25:18 -0700