{ "info": { "author": "Tim Hatch", "author_email": "tim@timhatch.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Quality Assurance" ], "description": "=========\nRegexlint\n=========\n\nRegexlint will examine all regular expressions in an importable Pygments\nlexer, and report things that are probably not doing what you think they're\ndoing. For example, patterns like this (which will only match the first)::\n\n (else|elseif)\n\nIt can also warn about a few syntax problems, for example this has two\nproblems -- the ``\\s+`` outside the groups, and not enough actions in bygroups\n(this one needs two in the args to bygroups)::\n\n (r'(foo)\\s+(bar)', bygroups(Blah)),\n\n\nUsage\n=====\n\n::\n\n make demo\n or\n regexlint pygments.lexers.web:HtmlLexer\n or\n python2 regexlint/cmdline.py pygments.lexers.web\n\n\nTodo\n====\n\n* Figure out which phase should remove unnecessary backslashes\n* Write the alternation expander, so that ([ax]|a[bc]) fails the alternation\n order checks\n* Make more general than just for Pygments\n\n\nLicense\n=======\n\nThis project is licensed under the Apache Public License, see COPYING\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/thatch/regexlint", "keywords": "", "license": "Apache", "maintainer": "", "maintainer_email": "", "name": "regexlint", "package_url": "https://pypi.org/project/regexlint/", "platform": "", "project_url": "https://pypi.org/project/regexlint/", "project_urls": { "Homepage": "https://github.com/thatch/regexlint" }, "release_url": "https://pypi.org/project/regexlint/1.6/", "requires_dist": [ "Pygments", "six" ], "requires_python": "", "summary": "Linter for (Pygments) regular expressions", "version": "1.6" }, "last_serial": 4566406, "releases": { "0.9": [ { "comment_text": "", "digests": { "md5": "a09f8adef66ec15771a62951b260ead5", "sha256": "3c77f237751c1dd72d051bdf4d781b0701c05305e9a8414a1edcfcc271ab5679" }, "downloads": -1, "filename": "regexlint-0.9.tar.gz", "has_sig": false, "md5_digest": "a09f8adef66ec15771a62951b260ead5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18728, "upload_time": "2014-04-14T03:37:20", "url": "https://files.pythonhosted.org/packages/92/85/463ac7e093df766276241c2b7efe4b8fc69f99882fa5368fe72986b3a66c/regexlint-0.9.tar.gz" } ], "0.9.1": [ { "comment_text": "", "digests": { "md5": "1e1af2211065b0155a39a4fe972f5ce2", "sha256": "72e17bcc7cad68f4a9cd9fbb8b65ec77f6d281e6a4d1d8835e280aac0b6ab81c" }, "downloads": -1, "filename": "regexlint-0.9.1.tar.gz", "has_sig": false, "md5_digest": "1e1af2211065b0155a39a4fe972f5ce2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18827, "upload_time": "2014-04-14T03:42:01", "url": "https://files.pythonhosted.org/packages/ad/a8/2916d05a2bcd6f0677b89da2e49d51a36a0224dce818115dcf2bbecefa46/regexlint-0.9.1.tar.gz" } ], "0.9.2": [ { "comment_text": "", "digests": { "md5": "030bf16a4457600a958a8900907d06ff", "sha256": "f9b36cdfbe8486a7599745722c1ca2d8a6644e2b9cbcb83505f97b8de9bcfe7c" }, "downloads": -1, "filename": "regexlint-0.9.2.tar.gz", "has_sig": false, "md5_digest": "030bf16a4457600a958a8900907d06ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18748, "upload_time": "2014-04-14T03:48:43", "url": "https://files.pythonhosted.org/packages/8f/d9/2f86d833de1f6cfbceaa3d8a5561e58ba721b9364990734ea6b0ce405e41/regexlint-0.9.2.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "bfbb7759b15eac9d795a2fc150731666", "sha256": "489bde7bb91d18453df1d24150d8f145bc4e8538f4e68fdd420748366047ba81" }, "downloads": -1, "filename": "regexlint-1.4.tar.gz", "has_sig": false, "md5_digest": "bfbb7759b15eac9d795a2fc150731666", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18739, "upload_time": "2014-04-14T04:00:13", "url": "https://files.pythonhosted.org/packages/ae/ed/890b53dada4c182fa3c386e6906ac8dd93171281e6680b0cf31f97fc8709/regexlint-1.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "589dbbb65bc8d1724d8e60f841906975", "sha256": "53632942fee791a00789b87c26076dcca94675ef38b025bed69bd94cf0f56dec" }, "downloads": -1, "filename": "regexlint-1.5.tar.gz", "has_sig": false, "md5_digest": "589dbbb65bc8d1724d8e60f841906975", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22434, "upload_time": "2016-06-01T22:15:43", "url": "https://files.pythonhosted.org/packages/e6/6a/87f5045664d58ae3e1f7db25e70d6e1fdece1ffa4d6694c7a2b3a8438795/regexlint-1.5.tar.gz" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "684cf3d18115da189195b98cb76bc91f", "sha256": "cf3013b659d407513d43abc7a23304665b825d779b74b25b8cceda2252fd4ed5" }, "downloads": -1, "filename": "regexlint-1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "684cf3d18115da189195b98cb76bc91f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 29884, "upload_time": "2018-12-06T03:58:21", "url": "https://files.pythonhosted.org/packages/77/7d/6e905b246994453ab3f57e71ed1a8b5ef79cc00e80ca0604e465183cb552/regexlint-1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e90c4b882c3d10cb1f771eee9850846e", "sha256": "18508eeb31f4d942ecba527b34b1da125340fb170bc35f3069a4b2b8314f6bab" }, "downloads": -1, "filename": "regexlint-1.6.tar.gz", "has_sig": false, "md5_digest": "e90c4b882c3d10cb1f771eee9850846e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22834, "upload_time": "2018-12-06T03:58:23", "url": "https://files.pythonhosted.org/packages/99/a2/4fd0f4515a1a3ca5414e6dd8afcb146c60119fd6b83cd1dffae9605096b9/regexlint-1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "684cf3d18115da189195b98cb76bc91f", "sha256": "cf3013b659d407513d43abc7a23304665b825d779b74b25b8cceda2252fd4ed5" }, "downloads": -1, "filename": "regexlint-1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "684cf3d18115da189195b98cb76bc91f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 29884, "upload_time": "2018-12-06T03:58:21", "url": "https://files.pythonhosted.org/packages/77/7d/6e905b246994453ab3f57e71ed1a8b5ef79cc00e80ca0604e465183cb552/regexlint-1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e90c4b882c3d10cb1f771eee9850846e", "sha256": "18508eeb31f4d942ecba527b34b1da125340fb170bc35f3069a4b2b8314f6bab" }, "downloads": -1, "filename": "regexlint-1.6.tar.gz", "has_sig": false, "md5_digest": "e90c4b882c3d10cb1f771eee9850846e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22834, "upload_time": "2018-12-06T03:58:23", "url": "https://files.pythonhosted.org/packages/99/a2/4fd0f4515a1a3ca5414e6dd8afcb146c60119fd6b83cd1dffae9605096b9/regexlint-1.6.tar.gz" } ] }