Tag

Pattern Matching

0 views collected around this technical thread.

Code Mala Tang
Code Mala Tang
May 29, 2025 · Fundamentals

Master Regular Expressions: Key Patterns, Real-World Uses & Common Pitfalls

Regular expressions provide a powerful way to search, match, and extract patterns in text, and this guide covers fundamental syntax, practical applications such as email, phone, and date extraction, as well as performance, encoding, security, compatibility considerations, and common mistakes to avoid.

Best PracticesPattern MatchingPython
0 likes · 9 min read
Master Regular Expressions: Key Patterns, Real-World Uses & Common Pitfalls
php中文网 Courses
php中文网 Courses
May 12, 2025 · Backend Development

Using Pattern Matching in PHP to Write Cleaner and More Maintainable Code

This article explains what pattern matching is, demonstrates how to implement it in PHP using switch statements, the new match expression, array and object destructuring, and provides advanced techniques, practical examples, advantages, and best practices for writing more declarative and maintainable backend code.

Backend DevelopmentBest PracticesMatch Expression
0 likes · 8 min read
Using Pattern Matching in PHP to Write Cleaner and More Maintainable Code
Python Programming Learning Circle
Python Programming Learning Circle
Feb 27, 2025 · Fundamentals

Understanding Regular Expressions in Python with Practical Code Examples

This article introduces Python's regular expression capabilities, covering fundamental concepts, metacharacters, character classes, quantifiers, and practical usage of the re module's functions such as search, match, findall, and sub, with clear code examples.

Pattern MatchingPythoncoding tutorial
0 likes · 9 min read
Understanding Regular Expressions in Python with Practical Code Examples
Code Mala Tang
Code Mala Tang
Dec 31, 2024 · Frontend Development

Explore the 6 Most Exciting JavaScript Proposals Shaping 2024

This article reviews six upcoming JavaScript proposals for 2024—including pattern matching, the pipeline operator, async context, new Set methods, enhanced array utilities, and the Temporal API—showcasing old versus new code examples and explaining their potential impact on developers.

ES2024JavaScriptPattern Matching
0 likes · 6 min read
Explore the 6 Most Exciting JavaScript Proposals Shaping 2024
php中文网 Courses
php中文网 Courses
Oct 29, 2024 · Backend Development

Evaluating the Learning Cost of New PHP Function Features

This article examines how the introduction of new PHP function features, such as arrow functions and pattern matching, impacts a development team's learning cost, outlining required skill updates, integration challenges, and the trade‑offs between efficiency gains and the effort required to adopt these features.

Arrow FunctionsBackend DevelopmentLearning Cost
0 likes · 5 min read
Evaluating the Learning Cost of New PHP Function Features
php中文网 Courses
php中文网 Courses
Oct 9, 2024 · Backend Development

Using PHP glob() Function to Match File Paths

This article explains the PHP glob() function, its syntax, parameters, and various usage examples—including wildcard, brace expansion, and recursive patterns—while highlighting important flags and return‑value considerations for effective file‑path matching.

Backend DevelopmentPHPPattern Matching
0 likes · 4 min read
Using PHP glob() Function to Match File Paths
Architecture Development Notes
Architecture Development Notes
May 8, 2024 · Fundamentals

Master Rust Tuples: Definition, Access, Destructuring, and Real-World Uses

Learn how to define, initialize, access, destructure, and apply Rust tuples—including function returns, pattern matching, and limitations—through clear explanations and code examples that illustrate their flexibility and best-use scenarios for safer, more efficient Rust programming.

DestructuringPattern MatchingTuples
0 likes · 5 min read
Master Rust Tuples: Definition, Access, Destructuring, and Real-World Uses
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 2, 2024 · Fundamentals

Understanding Regular Expressions: Syntax, Engines, and Best Practices

This article provides a comprehensive overview of regular expressions, covering their basic syntax, meta‑characters, quantifiers, greedy vs. non‑greedy matching, look‑ahead/behind, capture groups, engine types such as NFA and DFA, performance pitfalls, optimization tips, major flavors (POSIX, PCRE, RE2), and practical examples for password validation and code‑block extraction.

DFANFAPattern Matching
0 likes · 37 min read
Understanding Regular Expressions: Syntax, Engines, and Best Practices
php中文网 Courses
php中文网 Courses
Jan 29, 2024 · Backend Development

Using PHP's glob() Function to Search Files and Directories

This article introduces PHP's glob() function, explains its syntax and parameters, and provides multiple code examples demonstrating how to locate files, filter by patterns, search across multiple directories, and retrieve only directories, while noting performance considerations.

Pattern Matchingbackendfile-search
0 likes · 4 min read
Using PHP's glob() Function to Search Files and Directories
Bitu Technology
Bitu Technology
Dec 8, 2023 · Backend Development

Why Every Java Developer Should Learn Scala – Key Advantages and Insights from the Scala Meetup

The article reviews a Scala meetup where experts compare Java and Scala, highlighting Scala's stronger expressiveness, type inference, pattern matching, safety, and concurrency features, and discusses real‑world adoption, developer experiences, and a recruitment opportunity for a Scala‑focused big‑data team.

Big DataConcurrencyFunctional Programming
0 likes · 13 min read
Why Every Java Developer Should Learn Scala – Key Advantages and Insights from the Scala Meetup
Python Programming Learning Circle
Python Programming Learning Circle
Jul 26, 2023 · Fundamentals

New Features in Python 3.11: Pattern Matching, Type Hints, Performance Optimizations, and More

This article introduces the major enhancements of Python 3.11—including structural pattern matching, improved type hints, faster execution via PEP 659, richer error messages, the new | dictionary‑merge operator, built‑in breakpoint debugging, and other standard‑library additions—illustrated with concise code examples.

Pattern MatchingPerformancePython
0 likes · 8 min read
New Features in Python 3.11: Pattern Matching, Type Hints, Performance Optimizations, and More
IT Services Circle
IT Services Circle
Mar 26, 2023 · Fundamentals

Common Regular Expression Metacharacters and Their Usage in Python

This article explains the most frequently used regular expression symbols in Python, covering ordinary metacharacters, the OR operator, escape sequences, anchors, quantifiers, grouping, and shorthand character classes, each illustrated with clear code examples and explanations.

Pattern MatchingPythonmetacharacters
0 likes · 6 min read
Common Regular Expression Metacharacters and Their Usage in Python
IT Services Circle
IT Services Circle
Jan 30, 2023 · Fundamentals

Understanding Regular Expressions: Definitions, Structure, and Practical Java Examples

This article introduces regular expressions, explains their core concepts, character classes, quantifiers, anchors, grouping, and assertions, and demonstrates how to solve common string‑validation, formatting, and placeholder‑replacement problems in Java with clear code examples.

JavaPattern Matchingcode examples
0 likes · 21 min read
Understanding Regular Expressions: Definitions, Structure, and Practical Java Examples
Architecture Digest
Architecture Digest
Jan 12, 2023 · Frontend Development

Comprehensive Guide to Regular Expressions in JavaScript

This article provides a thorough introduction to JavaScript regular expressions, covering their definition, syntax, flags, meta‑characters, assertions, RegExp object properties and methods, capturing and non‑capturing groups, named groups, greedy vs. lazy matching, back‑references, and common pitfalls, all illustrated with clear code examples.

Capturing GroupsJavaScriptPattern Matching
0 likes · 8 min read
Comprehensive Guide to Regular Expressions in JavaScript
政采云技术
政采云技术
Aug 16, 2022 · Fundamentals

Comprehensive Guide to Regular Expressions in JavaScript

This article provides a thorough tutorial on regular expressions, covering their history, fundamental concepts like quantifiers and character classes, debugging tools, advanced techniques such as lazy versus greedy matching and assertions, JavaScript RegExp methods, compatibility considerations, and practical code examples for common validation patterns.

JavaScriptPattern Matchingfrontend
0 likes · 17 min read
Comprehensive Guide to Regular Expressions in JavaScript
IT Services Circle
IT Services Circle
Mar 9, 2022 · Fundamentals

Learning Regular Expressions through AST Visualization

This article explains how to master regular expressions by visualizing their abstract syntax trees (AST), covering basic patterns, character classes, repetitions, greedy vs. non‑greedy matching, groups, and look‑ahead/look‑behind assertions with clear examples and diagrams.

ASTJavaScriptPattern Matching
0 likes · 11 min read
Learning Regular Expressions through AST Visualization
Tencent Cloud Developer
Tencent Cloud Developer
Oct 14, 2021 · Fundamentals

C++ to Rust: Key Differences in Move Semantics, Option Type, and Iterator

The article compares C++ and Rust for developers switching languages, explaining how Rust enforces move semantics instead of copy defaults, uses the safe Option enum with exhaustive pattern matching instead of nullable pointers, and favors lazy, chainable iterators over index‑based loops for performance and safety.

C++IteratorMemory Safety
0 likes · 15 min read
C++ to Rust: Key Differences in Move Semantics, Option Type, and Iterator
Python Programming Learning Circle
Python Programming Learning Circle
Oct 13, 2021 · Fundamentals

New Features in Python 3.10: Union Types, zip strict mode, parenthesized context managers, explicit type aliases, match‑case, improved error messages and other updates

Python 3.10, released on October 4 2021, introduces concise Union type syntax, a strict mode for zip, parenthesized with‑statements, explicit TypeAlias declarations, structural pattern matching via match‑case, clearer syntax error messages, and several deprecations such as distutils, all illustrated with code examples.

3.10Context ManagerPattern Matching
0 likes · 8 min read
New Features in Python 3.10: Union Types, zip strict mode, parenthesized context managers, explicit type aliases, match‑case, improved error messages and other updates
Java Architecture Diary
Java Architecture Diary
Sep 15, 2021 · Backend Development

Unlock Java 17 in IntelliJ IDEA 2021.2.1: Pattern Matching, Switch & Speed Tips

This article explains how to use Java 17 features such as pattern matching and switch expressions in IntelliJ IDEA 2021.2.1, demonstrates performance‑boosting tips by disabling unnecessary plugins, and provides practical code examples to streamline your Java development workflow.

IntelliJ IDEAPattern MatchingPerformance Optimization
0 likes · 4 min read
Unlock Java 17 in IntelliJ IDEA 2021.2.1: Pattern Matching, Switch & Speed Tips
macrozheng
macrozheng
Jun 28, 2021 · Backend Development

Unlock Java 8 Functional Power with Vavr: Immutable Collections, Try, and Pattern Matching

This article introduces Vavr, a Java 8 functional library that brings immutable data structures, observable side‑effects via Try, rich tuple and function APIs, lazy evaluation, and pattern matching, helping Java developers adopt functional programming concepts efficiently.

Functional ProgrammingImmutable CollectionsJava
0 likes · 9 min read
Unlock Java 8 Functional Power with Vavr: Immutable Collections, Try, and Pattern Matching