{ "info": { "author": "Alisue", "author_email": "lambdalisue@hashnote.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "python-rexpression\n==========================\n.. image:: https://secure.travis-ci.org/lambdalisue/python-rexpression.svg?branch=master\n :target: http://travis-ci.org/lambdalisue/python-rexpression\n :alt: Build status\n\n.. image:: https://coveralls.io/repos/lambdalisue/python-rexpression/badge.svg?branch=master\n :target: https://coveralls.io/r/lambdalisue/python-rexpression/\n :alt: Coverage\n\n.. image:: https://img.shields.io/pypi/dm/rexpression.svg\n :target: https://pypi.python.org/pypi/rexpression/\n :alt: Downloads\n\n.. image:: https://img.shields.io/pypi/v/rexpression.svg\n :target: https://pypi.python.org/pypi/rexpression/\n :alt: Latest version\n\n.. image:: https://img.shields.io/pypi/format/rexpression.svg\n :target: https://pypi.python.org/pypi/rexpression/\n :alt: Format\n\n.. image:: https://img.shields.io/pypi/status/rexpression.svg\n :target: https://pypi.python.org/pypi/rexpression/\n :alt: Status\n\n.. image:: https://img.shields.io/pypi/l/rexpression.svg\n :target: https://pypi.python.org/pypi/rexpression/\n :alt: License\n\n.. image:: https://img.shields.io/pypi/pyversions/rexpression.svg\n :target: https://pypi.python.org/pypi/rexpression/\n :alt: Support version\n\nAdd Perl like regular expression syntax like:\n\n.. code:: python\n\n from rexpression import regex\n\n print(\"foo bar\" ==~ regex(\"^foo\")) # -> True\n print(\"foo bar\" ==~ regex(\"^boo\")) # -> False\n\n print(\"foo bar\" !=~ regex(\"^foo\")) # -> False\n print(\"foo bar\" !=~ regex(\"^boo\")) # -> True\n\n print(\"foo bar\" == regex(\"foo\")) # -> False\n print(\"foo bar\" == regex(\"boo\")) # -> False\n print(\"foo bar\" == regex(\"foo bar\")) # -> True\n\n**DO NOT USE THIS MODULE EXCEPT FOR A PIECE OF CODE**.\nBasically, this is really **BAD** idea in Python and you should prevent to use this kind of BAD syntax in productive code.\n\n\nInstallation\n------------\nUse pip_ like::\n\n $ pip install rexpression\n\n.. _pip: https://pypi.python.org/pypi/pip\n\n\nLicense\n-------------------------------------------------------------------------------\nThe MIT License (MIT)\n\nCopyright (c) 2015 Alisue, hashnote.net\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/lambdalisue/rexpression/tarball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/lambdalisue/rexpression", "keywords": "re regex regular expression", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "rexpression", "package_url": "https://pypi.org/project/rexpression/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rexpression/", "project_urls": { "Download": "https://github.com/lambdalisue/rexpression/tarball/master", "Homepage": "https://github.com/lambdalisue/rexpression" }, "release_url": "https://pypi.org/project/rexpression/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "Allow Perl type regular expression condition check", "version": "0.1.0" }, "last_serial": 1987729, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "017bb24cbe395d0b2b5fa61c38e44ea2", "sha256": "072f6c024e13fda7ad6075909e99505c5d565f4c2fbff3a9f8ce7c3b59682c84" }, "downloads": -1, "filename": "rexpression-0.1.0.tar.gz", "has_sig": false, "md5_digest": "017bb24cbe395d0b2b5fa61c38e44ea2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3080, "upload_time": "2016-03-03T15:25:20", "url": "https://files.pythonhosted.org/packages/17/ba/c5a27c93c34f1def4be47f42224aeaee77bcb6579d057fa329fdb400c5f6/rexpression-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "017bb24cbe395d0b2b5fa61c38e44ea2", "sha256": "072f6c024e13fda7ad6075909e99505c5d565f4c2fbff3a9f8ce7c3b59682c84" }, "downloads": -1, "filename": "rexpression-0.1.0.tar.gz", "has_sig": false, "md5_digest": "017bb24cbe395d0b2b5fa61c38e44ea2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3080, "upload_time": "2016-03-03T15:25:20", "url": "https://files.pythonhosted.org/packages/17/ba/c5a27c93c34f1def4be47f42224aeaee77bcb6579d057fa329fdb400c5f6/rexpression-0.1.0.tar.gz" } ] }