falsehoods | get depending on lang etc
kandi X-RAY | falsehoods Summary
kandi X-RAY | falsehoods Summary
My ultimate competition: what programming language, compiler, optimizer and what-not can give me the smolest (and therefore cutest) /bin/false. Some would say this is a flawed approach to cute, but I have heard since like forever that tall men are naturally drawn to short women yadda yadda. I just like my /bin/false smol, so there's that. The results are not ready anyhow at all, though I'm kinda impressed by Crystal so far. If you have better ideas how to do things, or you think that I've been unjust to one of the contestants, please channel your concerns to me over whichever way you fancy, be it messaging Michcioperz on freenode, or messaging @Michcioperz@m.atm.pl on the fediverse, or emailing public+falsehoods@meekchopp.es.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of falsehoods
falsehoods Key Features
falsehoods Examples and Code Snippets
Community Discussions
Trending Discussions on falsehoods
QUESTION
I have a regex which matches street names (see demo 1) and I have a regex which matches possible house numbers in Germany (see demo 2). Each regex works perfectly fine. In the next step I want to combine both regex (street names + house number). In other words, I am looking for a regex which matches both street names and house numbers together.
I have prepared a demo 3 with examples. I know these examples are not complete if you compare it with the strict rules here, but it is enough for my use case.
Since regex is a rule based language, let me try to explain the rules in words:
- In Germany the street name can be basicaly every kind of name. There can be a
.
or-
in between. - The regex should match even with lower case characters
- The house numbers are in most cases sth. like
99
or99a
. But I tried to be creative and added some additional possible examples
My problem: I have solutions to each seperate case (see demo 1 and 2) but my problem is that I don't know how to combine two regex to one (see demo 3).
Working regex for street names:
...ANSWER
Answered 2021-Nov-22 at 08:27Combining 2 regex into one:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install falsehoods
You can use falsehoods like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page