alex_bn_lee

导航

2023年11月22日 #

[951] Understanding the pattern of "(.*?)" in Python's re package

摘要: In Python's regular expressions, (.*?) is a capturing group with a non-greedy quantifier. Let's break down the components: ( and ): Parentheses are us 阅读全文

posted @ 2023-11-22 13:14 McDelfino 阅读(5) 评论(0) 推荐(0) 编辑

[950] Python RegEx (re library)

摘要: ref: Python RegEx A RegEx, or Regular Expression, is a sequence of characters that forms a search pattern. RegEx can be used to check if a string cont 阅读全文

posted @ 2023-11-22 12:46 McDelfino 阅读(10) 评论(0) 推荐(0) 编辑

[949] Using re to extract unstructured tables of PDF files

摘要: Here is the problem, this unstructured table of a PDF file can not be extrcted as a table directly. We can only extract the whole texts of every page. 阅读全文

posted @ 2023-11-22 11:21 McDelfino 阅读(13) 评论(0) 推荐(0) 编辑