Match URIs with like http://example.com/something in AndroidManifest

后端 未结 3 2230
既然无缘
既然无缘 2021-02-15 03:12

I am struggling with the element in the AndroidManifest.xml file to get my URI matching working. I want to match the following URIs:

  • http
3条回答
  •  耶瑟儿~
    2021-02-15 03:47

     
    
    
     
    

    Here you say there will be one slash \/ (since slash must be escaped) followed by 1 or more word character afterwards there could be one more slash (but this is optional) at the end of the string

    Have a look at DEMO

提交回复
热议问题