Tag

string processing

1 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
Apr 12, 2025 · Fundamentals

Mastering Manacher’s Algorithm: Find the Longest Palindromic Substring in O(N)

Manacher’s algorithm transforms the classic longest palindromic substring problem into a linear‑time solution by preprocessing the string with separators, tracking palindrome radii, and efficiently updating the center and right boundary using mirror positions, with detailed Python code and step‑by‑step illustrations.

Manacher algorithmPythonalgorithm tutorial
0 likes · 12 min read
Mastering Manacher’s Algorithm: Find the Longest Palindromic Substring in O(N)
php中文网 Courses
php中文网 Courses
Apr 2, 2025 · Backend Development

Understanding PHP str_word_count() Function: Syntax, Parameters, and Usage Examples

This article explains the PHP str_word_count() function, covering its syntax, parameter options, and providing multiple code examples that demonstrate counting words, retrieving word arrays, obtaining word positions, customizing ignored characters, and using regular expressions for word matching.

PHPbackendcode examples
0 likes · 5 min read
Understanding PHP str_word_count() Function: Syntax, Parameters, and Usage Examples
Java Captain
Java Captain
Mar 29, 2025 · Fundamentals

Java Regular Expressions: Syntax, Examples, and Usage

This article introduces Java regular expressions, covering basic syntax, character classes, logical operators, predefined tokens, quantifiers, practical code examples, common applications such as data validation, and performance optimization tips for effective string processing in Java.

JavaMatcherRegex
0 likes · 11 min read
Java Regular Expressions: Syntax, Examples, and Usage
php中文网 Courses
php中文网 Courses
Nov 28, 2024 · Backend Development

Understanding PHP str_word_count() Function: Syntax, Parameters, and Usage Examples

This article explains PHP's str_word_count() function, detailing its syntax, parameters, and providing multiple code examples that demonstrate counting words, retrieving word arrays, obtaining word positions, customizing ignored characters, and using regular expressions for word extraction.

PHPbackendphp-functions
0 likes · 5 min read
Understanding PHP str_word_count() Function: Syntax, Parameters, and Usage Examples
php中文网 Courses
php中文网 Courses
Aug 21, 2024 · Backend Development

Using PHP str_word_count() Function: Syntax, Parameters, and Examples

This article explains PHP's str_word_count() function, detailing its syntax, parameters, optional character list, and provides multiple code examples demonstrating how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.

PHPbackend developmentstr_word_count
0 likes · 4 min read
Using PHP str_word_count() Function: Syntax, Parameters, and Examples
Test Development Learning Exchange
Test Development Learning Exchange
Aug 7, 2024 · Fundamentals

Detailed Guide to Python String Processing with the re and string Modules

This article explains how to use Python's re and string modules for common string tasks such as pattern searching, substitution, splitting, and character checks, providing clear explanations and ten practical code examples.

FundamentalsPythonRegex
0 likes · 5 min read
Detailed Guide to Python String Processing with the re and string Modules
php中文网 Courses
php中文网 Courses
Dec 22, 2023 · Backend Development

Using PHP str_word_count() Function to Count Words in a String

This article explains the PHP str_word_count() function, detailing its syntax, parameters, and return formats, and provides multiple code examples demonstrating how to count words, retrieve word lists, obtain word positions, and customize ignored characters for string processing.

PHPbackend developmentstr_word_count
0 likes · 4 min read
Using PHP str_word_count() Function to Count Words in a String
php中文网 Courses
php中文网 Courses
Dec 4, 2023 · Backend Development

Using PHP str_word_count() Function to Count Words in a String

This article explains the PHP str_word_count() function, its syntax, parameters, and provides multiple code examples showing how to count words, retrieve word arrays, obtain word positions, customize ignored characters, and use regular expressions for word matching.

PHPbackendstr_word_count
0 likes · 5 min read
Using PHP str_word_count() Function to Count Words in a String
php中文网 Courses
php中文网 Courses
Nov 23, 2023 · Backend Development

PHP Regular Expression Functions: Syntax, Usage, and Examples

This article explains PHP's regular expression functions—including preg_match, preg_match_all, preg_replace, and preg_split—detailing their syntax, parameters, and practical code examples, and also covers advanced regex metacharacters and special symbols for powerful string matching and manipulation.

PHPRegexbackend development
0 likes · 7 min read
PHP Regular Expression Functions: Syntax, Usage, and Examples
Python Programming Learning Circle
Python Programming Learning Circle
Mar 31, 2023 · Fundamentals

Vectorized String Operations in Pandas: Methods and Examples

This article explains how Pandas' vectorized string operations enable efficient, loop‑free processing of text data, covering basic methods like len() and lower(), advanced regex functions, and additional utilities such as split, replace, slice, and get_dummies, with code examples and usage details.

Vectorizationdata cleaningpandas
0 likes · 21 min read
Vectorized String Operations in Pandas: Methods and Examples
Python Programming Learning Circle
Python Programming Learning Circle
Apr 28, 2022 · Fundamentals

Converting Full‑Width and Half‑Width Characters in Python

This article explains the Unicode mapping between full‑width and half‑width characters, demonstrates simple Python functions for converting between them, and provides a flexible dictionary‑based approach for custom text conversion tasks.

Full-widthHalf-widthPython
0 likes · 9 min read
Converting Full‑Width and Half‑Width Characters in Python
Python Programming Learning Circle
Python Programming Learning Circle
Apr 8, 2021 · Fundamentals

Python Regular Expressions: Syntax, Character Classes, Quantifiers, Groups, Assertions, Flags, and Usage

This article provides a comprehensive overview of Python's regular expression features, covering special characters, character classes, quantifiers, grouping, backreferences, assertions, conditional matching, flags, and the most commonly used methods of the re module with illustrative code examples.

AssertionsPattern matchingPython
0 likes · 14 min read
Python Regular Expressions: Syntax, Character Classes, Quantifiers, Groups, Assertions, Flags, and Usage
Python Programming Learning Circle
Python Programming Learning Circle
Jan 28, 2021 · Fundamentals

Python Regular Expressions (re module): Syntax, Functions, and Examples

This article introduces Python's regular expression capabilities via the re module, explaining core concepts, basic syntax, and key functions like match, search, and sub, accompanied by detailed code examples and illustrations of advanced regex constructs.

Pattern matchingPythonRegex
0 likes · 5 min read
Python Regular Expressions (re module): Syntax, Functions, and Examples
Ops Development Stories
Ops Development Stories
Feb 24, 2019 · Fundamentals

Master Python’s re Module: Essential Regex Techniques Explained

This article provides a comprehensive guide to Python’s re module, covering regex definitions, common methods, special character sets, pattern‑matching functions, match object attributes, and practical code examples for tasks such as validating phone numbers, IP addresses, and HTML snippets.

Pattern matchingPythonRegex
0 likes · 13 min read
Master Python’s re Module: Essential Regex Techniques Explained
Qunar Tech Salon
Qunar Tech Salon
Apr 29, 2015 · Databases

Counting Routes with Identical City Lists Using PostgreSQL Arrays

This article explains how to transform a non‑visible 0x03‑separated city string stored in a PostgreSQL table into a sorted array so that routes with the same set of cities can be grouped and counted efficiently.

PostgreSQLSQLarray
0 likes · 4 min read
Counting Routes with Identical City Lists Using PostgreSQL Arrays