SIMD-friendly algorithms for substring searching

Цикл в RegEx для поиска подстрок с условием

Я хочу поделиться своим изобретением, которое позволяет вам использовать только одно регулярное выражение, которое будет искать подстроку в строке с определенным условием. Если хотите, называйте это циклом в RegEx, которого раньше не существовало! Я поделюсь с вами не только разными полезными шаблонами, но и покажу различные примеры от простых до сложных. Посмотреть идеи и шаблоны

https://habr.com/ru/articles/873832/

#RegEx #regexp #substring #подстроки #циклы #loop #условие #condition #изобретение #изобретение_велосипеда

Цикл в RegEx для поиска подстрок с условием

Изобретение Я хочу поделиться своим изобретением, которое позволяет вам использовать только одно регулярное выражение, которое будет искать подстроку в строке с определенным условием. Если хотите,...

Хабр

One day, one decomposition
A131645: Beastly primes (version 2): primes containing 666 as a substring

3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A131645.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A131645.html

#decompwlj #math #mathematics #sequence #OEIS #javascript #php #3D #numbers #PrimeNumbers #beastly #primes #substring #graph #threejs #webGL

Decomposition into weight × level + jump of Beastly primes (v2) in 3D - three.js webGL - Rémi Eismann

Decomposition into weight × level + jump of Beastly primes (v2) in 3D. Made with three.js webGL. Rémi Eismann

How to check if a string contains a substring in Bash

I have a string in Bash: string="My string" How can I test if it contains another string? if [ $string ?? 'foo' ]; then echo "It's there!" fi Where ?? is my unknown operator...

Stack Overflow

☑️ Day 23/100: #Leetcode daily question

🟨 Question: 1593. Split a String Into the Max Number of Unique Substrings

This question was marked as medium and it was really a good one and I need to look for a solution.

🐈‍⬛ Check out my #GitHub where I post all the daily streak 🔥 questions and #LeetcodeContest 🏆 solutions

🔗 Solution Link: https://github.com/akshatsingh1718/leetcode/tree/main/splitaStringIntotheMaxNumberofUniqueSubstrings

🔗 My Leetcode Github: https://github.com/akshatsingh1718/leetcode

#coding #pyton #leetcode #Algorithms #substring

leetcode/splitaStringIntotheMaxNumberofUniqueSubstrings at main · akshatsingh1718/leetcode

Contribute to akshatsingh1718/leetcode development by creating an account on GitHub.

GitHub

One day, one decomposition
A062115: Numbers with no prime substring in their decimal expansion

3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A062115.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A062115.html

#decompwlj #maths #mathematics #sequence #OEIS #javascript #php #3D #numbers #prime #substring #decimal #expansion #graph #threejs #webGL

I just realized that `in` doing #substring search on strings in #Python is actually a convenience feature (that violates the pure nature of iterating over iterables).

Took me only 24 years to understand. Because Python is #intuitive, not #dogmatic. Made for humans.

One day, one decomposition
A052018: Numbers k with the property that the sum of the digits of k is a substring of k

3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A052018.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A052018.html

#decompwlj #maths #mathematics #sequence #OEIS #javascript #php #3D #numbers #sum #digits #substring #graph #threejs #webGL

One day, one decomposition
A050695: Composite numbers k such that none of the prime factors of k is a substring of k

3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A050695.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A050695.html

#decompwlj #maths #mathematics #sequence #OEIS #javascript #php #3D #composite #numbers #prime #factors #substring #graph #threejs #webGL

One day, one decomposition
A049329: Numbers k such that k is a substring of k^k

3D graph, threejs - webGL ➡️ https://decompwlj.com/3Dgraph/A049329.html
2D graph, first 500 terms ➡️ https://decompwlj.com/2Dgraph500terms/A049329.html

#decompwlj #maths #mathematics #sequence #OEIS #javascript #php #3D #numbers #substring #power #graph #threejs #webGL