Match multiple words in any order via one regex

后端 未结 2 1640
自闭症患者
自闭症患者 2021-01-16 10:44

as stated in heading I want regex which will give me results in order based on my \'query\'.

line=\'VERSION=\"OTHER\" POWER=\"LOW\" FREQ=\"OFF\" MAXTUN=\"BLE         


        
2条回答
  •  无人及你
    2021-01-16 11:39

    I'm afraid there is no way to match in the order you want using regex: you could execute the part before | first, and then the part after |. Or order the result afterwards.

提交回复
热议问题