Android - Matcher.find() infinite

后端 未结 1 808
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-27 05:49

I have implemented AsyncTask where the regular expression provided by the user is being used for matching huge html-code data. However, because some of the regular expressions c

相关标签:
1条回答
  • 2021-01-27 06:39

    Parsing HTML using RegEx is a bad idea, see: Parsing Html The Cthulhu Way

    What about parsing the DOM instead? I tried jsoup a while ago and found it pretty neat to work with.

    0 讨论(0)
提交回复
热议问题