推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
css3
V2EX  ›  Python

求推荐正则表达式学习教程

  •  
  •   css3 · Aug 30, 2018 · 2655 views
    This topic created in 2956 days ago, the information mentioned may be changed or developed.

    不懂正则,操作起字符来,一点都不方便,菜鸟教程上看了也是一知半解,求可以简单易懂的教程,有吗

    5 replies  •  2018-09-04 17:10:59 +08:00
    sess222
        1
    sess222  
       Aug 30, 2018
    做爬虫规则的时候,各种狗急跳墙靠各路百度和幻想写几百个就会了,BS4,query 取不到或者不好取的关键数据多了去了。就是靠多练习,没法具体教,但是平常不用忘的也快,最后还是要去百度。。。
    wocanmei
        2
    wocanmei  
       Aug 31, 2018 via iPhone
    想系统学习的话 Mastering Regular Expressions,否则的话百度谷歌
    zaaazaa
        3
    zaaazaa  
       Sep 1, 2018
    项目驱动型学习
    huangke
        4
    huangke  
       Sep 1, 2018
    《正则表达式必知必会(修订版)》
    https://book.douban.com/subject/26285406/
    JerryV2
        5
    JerryV2  
       Sep 4, 2018
    这个教程很不错
    http://deerchao.net/tutorials/regex/regex.htm#negativelookaround

    4 楼推荐的书很好,买一本随时翻翻
    2 楼推荐的书也很好,推荐你熟知大部分正则语法后再看

    关键还是多用,强迫自己用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   991 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 17:37 · PVG 01:37 · LAX 10:37 · JFK 13:37
    ♥ Do have faith in what you're doing.