Tagged articles

Pattern Matching

122 articles · Page 2 of 2
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 MatchingPythonString processing
0 likes · 13 min read
Master Python’s re Module: Essential Regex Techniques Explained
21CTO
21CTO
Feb 16, 2019 · Fundamentals

Mastering Regular Expressions: Numbers, Emails, Phone Numbers & HTML

This tutorial walks you through building and testing regular expressions for common patterns such as floating‑point numbers, optional fractions, exponents, phone numbers, email addresses, and simple HTML tags, explaining each step and showing practical examples.

Pattern Matchingregexregular expressions
0 likes · 8 min read
Mastering Regular Expressions: Numbers, Emails, Phone Numbers & HTML
MaGe Linux Operations
MaGe Linux Operations
Dec 27, 2018 · Fundamentals

Master Python Regular Expressions: Syntax, Flags, and Practical Usage

This article provides a comprehensive guide to Python regular expressions, covering regex syntax, character classes, quantifiers, groups, assertions, conditional matches, flags, the re module’s core functions, match object methods, and practical examples for effective pattern matching.

Pattern MatchingPythonre module
0 likes · 13 min read
Master Python Regular Expressions: Syntax, Flags, and Practical Usage
Python Crawling & Data Mining
Python Crawling & Data Mining
Nov 1, 2018 · Fundamentals

Master Python Regex: Extract Any Date Format with Simple Patterns

This article walks through building and refining a Python regular expression that reliably matches a wide range of Chinese date formats—including year‑month‑day, year/month/day, and year‑month—explaining each component, testing against sample strings, and presenting the final pattern that captures all cases.

Pattern Matchingdate extractionregex
0 likes · 5 min read
Master Python Regex: Extract Any Date Format with Simple Patterns
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 1, 2018 · Fundamentals

Master Python Regex: When '+' Beats '*' for Precise Matching

This article explains how Python’s regex quantifiers '+' and '*' differ, demonstrating with step‑by‑step examples how '+' requires at least one occurrence of the preceding character, while '*' allows zero or more, and shows the resulting matches through clear screenshots.

Pattern MatchingPythonquantifiers
0 likes · 4 min read
Master Python Regex: When '+' Beats '*' for Precise Matching
Java Captain
Java Captain
Sep 27, 2018 · Fundamentals

A Beginner's Guide to Regular Expressions: Basics and Advanced Topics

This tutorial introduces regular expressions across programming languages, covering fundamental metacharacters, quantifiers, grouping, alternation, character classes, assertions, capturing, backreferences, greedy vs. lazy matching, and provides practical Java code examples for common validation tasks.

Pattern Matchingcoding tutorialjava
0 likes · 17 min read
A Beginner's Guide to Regular Expressions: Basics and Advanced Topics
Programmer DD
Programmer DD
Aug 2, 2017 · Fundamentals

Mastering Regex: How to Build Precise and Efficient Regular Expressions

This article explains how to construct regular expressions that balance matching expected strings, avoiding false matches, maintaining readability, and achieving performance, while covering when to use regex, practical JavaScript examples, accuracy techniques for phone numbers and floats, and key optimization strategies.

AccuracyJavaScriptOptimization
0 likes · 12 min read
Mastering Regex: How to Build Precise and Efficient Regular Expressions
21CTO
21CTO
Jul 2, 2017 · Fundamentals

Essential Regex Cheat Sheet: 20 Common Validation Patterns for Developers

This cheat sheet compiles twenty practical regular‑expression patterns—including date, password, email, ID, IP, URL, and HTML validation examples—along with JavaScript snippets, giving developers a quick reference to boost input‑checking efficiency across front‑end and back‑end projects.

JavaScriptPattern Matchingbackend
0 likes · 8 min read
Essential Regex Cheat Sheet: 20 Common Validation Patterns for Developers
Tencent IMWeb Frontend Team
Tencent IMWeb Frontend Team
Jun 9, 2017 · Frontend Development

Master JavaScript Regex: String Methods and RegExp Object Explained

This article explains the two main aspects of using regular expressions in JavaScript—string methods such as search, replace, match, and split, and the RegExp object with its properties, constructor, and methods like exec, test, and compile, including practical tips and common pitfalls.

Pattern MatchingString Methodsregex
0 likes · 6 min read
Master JavaScript Regex: String Methods and RegExp Object Explained
Aotu Lab
Aotu Lab
Dec 6, 2016 · Fundamentals

Master JavaScript Regular Expressions: From Basics to Advanced Patterns

This comprehensive guide explains what regular expressions are, their practical uses in data validation and string manipulation, the syntax of literals and constructors, key String and RegExp methods, character classes, quantifiers, anchors, groups, assertions, flags, and the behavior of JavaScript's NFA engine, all illustrated with clear code examples.

JavaScriptNFA EnginePattern Matching
0 likes · 15 min read
Master JavaScript Regular Expressions: From Basics to Advanced Patterns
Architecture Digest
Architecture Digest
Aug 30, 2016 · Fundamentals

Overview of Planned C# 7.0 Language Features

The article introduces the upcoming C# 7.0 language enhancements—including output variables, pattern matching, extended switch statements, tuples, deconstruction, local functions, numeric literal improvements, ref returns, new async return types, and throw expressions—explaining their syntax, usage, and current preview limitations.

Pattern Matchingasynccsharp
0 likes · 17 min read
Overview of Planned C# 7.0 Language Features
Practical DevOps Architecture
Practical DevOps Architecture
Jul 11, 2016 · Fundamentals

Regular Expression Syntax and Metacharacter Guide

This article explains regular expression delimiters, common metacharacters, quantifiers, anchors, character classes, logical operators, negation, and escaping, providing clear examples of each pattern and how they match specific strings in target text.

Pattern Matchingmetacharactersregex
0 likes · 8 min read
Regular Expression Syntax and Metacharacter Guide

Introducing Erlang: Concurrency, Fault Tolerance, and Simple Syntax

This article introduces Erlang as a general‑purpose concurrent language, highlighting its fault‑tolerant runtime, simple 550‑line syntax, pattern‑matching capabilities, process creation with spawn, and practical examples using the ibrowse HTTP library to demonstrate message passing and distributed computing.

ErlangFunctional ProgrammingPattern Matching
0 likes · 8 min read
Introducing Erlang: Concurrency, Fault Tolerance, and Simple Syntax