Tagged articles
305 articles
Page 1 of 4
Mingyi World Elasticsearch
Mingyi World Elasticsearch
Mar 27, 2026 · Fundamentals

EasySearch Rules Syntax: Quick Reference Guide

This guide details the EasySearch rule syntax, covering rule structure, logical operators, field constraints, regular expressions, distance matching, numeric range matching, three practical tagging scenarios, common errors, special‑character escaping, and concise best‑practice recommendations.

Easysearchfield constraintsnear operator
0 likes · 8 min read
EasySearch Rules Syntax: Quick Reference Guide
o-ai.tech
o-ai.tech
Mar 24, 2026 · Backend Development

How to Build Lightning‑Fast Regex Search Indexes for Agent‑Powered Code Tools

The article analyses why traditional code‑search techniques struggle with massive monorepos, explores classic and modern indexing methods—including inverted indexes, trigram, suffix arrays, probabilistic masks, and sparse n‑grams—and explains how Cursor’s locally‑executed, memory‑efficient design delivers instant, fresh regex search for AI agents.

agent toolingcode searchlocal indexing
0 likes · 11 min read
How to Build Lightning‑Fast Regex Search Indexes for Agent‑Powered Code Tools
Linux Tech Enthusiast
Linux Tech Enthusiast
Mar 16, 2026 · Fundamentals

Getting Started with Perl on Linux: Quick Setup and Core Syntax

This article walks through Perl's preinstalled availability on Linux, shows how to check the version, explains script and one‑liner execution, introduces basic syntax and variable types, demonstrates a real‑world email‑extraction script, and shares essential tips for writing clean Perl code.

perlregextext processing
0 likes · 5 min read
Getting Started with Perl on Linux: Quick Setup and Core Syntax
php Courses
php Courses
Feb 25, 2026 · Fundamentals

Can Functional Pipelines Transform Regex Construction? A Builder Approach

By applying functional and pipeline programming concepts to regex creation, developers can replace unreadable string literals with composable components, enabling clearer, maintainable patterns, dynamic construction, and modular management of character classes, quantifiers, lookaheads, and backreferences, while highlighting the method's strengths and limitations.

Builder PatternPipelinecode-generation
0 likes · 7 min read
Can Functional Pipelines Transform Regex Construction? A Builder Approach
php Courses
php Courses
Jan 5, 2026 · Backend Development

Master PHP String Truncation: 5 Methods for Clean, Multilingual Output

Learn how to efficiently truncate strings in PHP using five approaches—substr for ASCII, mb_substr for multibyte characters, regex with preg_match, explode with array handling, and a custom function that adds ellipsis—while understanding each method's syntax, advantages, and limitations.

String Manipulationcustom-functionexplode
0 likes · 5 min read
Master PHP String Truncation: 5 Methods for Clean, Multilingual Output
php Courses
php Courses
Nov 20, 2025 · Backend Development

Master PHP’s preg_match: Simple Regex and Email Validation

This guide explains how to use PHP’s preg_match function for basic string matching, demonstrates common regex patterns such as character ranges and quantifiers, and provides a detailed example for validating email addresses, helping developers apply regular expressions effectively in their backend code.

email-validationpreg_matchregex
0 likes · 3 min read
Master PHP’s preg_match: Simple Regex and Email Validation
Raymond Ops
Raymond Ops
Nov 17, 2025 · Operations

Mastering sed: Essential Commands, Options, and Real‑World Examples

This comprehensive guide explains how the stream editor sed works, covering its syntax, common options, matching patterns, delimiters, variable handling, core editing commands, advanced features, typical use‑case examples, script files, hold/ pattern spaces, and techniques for printing specific lines or exiting early.

Shell scriptingcommand-lineregex
0 likes · 23 min read
Mastering sed: Essential Commands, Options, and Real‑World Examples
Liangxu Linux
Liangxu Linux
Nov 2, 2025 · Operations

40 Essential grep Commands Every Linux User Should Master

This guide presents a comprehensive collection of 40 practical grep examples—from basic searches and case‑insensitive matching to complex regular‑expression patterns and advanced options—showing how to quickly locate, filter, and manipulate text in files and logs on Linux systems.

GrepLinuxcommand-line
0 likes · 10 min read
40 Essential grep Commands Every Linux User Should Master
Java Tech Enthusiast
Java Tech Enthusiast
Oct 14, 2025 · Backend Development

How to Build a High‑Performance MyBatis Log Analyzer with Spring Boot

This article describes the design and implementation of a high‑performance log‑analysis system for massive MyBatis logs, covering problem analysis, technology selection, architecture, multithreaded parsing, flexible regex templates, performance monitoring, pitfalls, optimization practices, results, and future plans.

MyBatisSpring Bootjava
0 likes · 13 min read
How to Build a High‑Performance MyBatis Log Analyzer with Spring Boot
Raymond Ops
Raymond Ops
Oct 2, 2025 · Operations

Unlock the Power of Linux’s Triple Threat: grep, sed, and awk

This comprehensive guide introduces the Linux “three swords”—grep, sed, and awk—explaining regular expressions, metacharacters, and practical command syntax, while providing examples, options, and advanced usage tips to boost efficiency in text processing and system administration.

GrepLinuxShell scripting
0 likes · 22 min read
Unlock the Power of Linux’s Triple Threat: grep, sed, and awk
Liangxu Linux
Liangxu Linux
Sep 21, 2025 · Operations

15 Powerful grep Tricks to Master Text Searching on Linux

This guide presents fifteen practical grep examples that demonstrate how to locate specific strings, perform case‑insensitive searches, recurse directories, count matches, list filenames, show line numbers, invert matches, display context, use regular expressions, exclude files, and combine grep with other commands for advanced text processing on Linux systems.

GrepLinuxShell scripting
0 likes · 8 min read
15 Powerful grep Tricks to Master Text Searching on Linux
ITPUB
ITPUB
Sep 8, 2025 · Operations

12 Essential grep Command Combinations to Supercharge Log Analysis

This guide presents twelve practical grep command-line patterns—including case‑insensitive search, line‑number highlighting, keyword counting, multi‑keyword regex, context display, real‑time filtering, and integration with find—each illustrated with exact syntax and brief explanations to help Linux administrators and developers troubleshoot logs more efficiently.

GrepLinuxcommand-line
0 likes · 5 min read
12 Essential grep Command Combinations to Supercharge Log Analysis
Code Ape Tech Column
Code Ape Tech Column
Sep 8, 2025 · Backend Development

How to Implement Data Desensitization with YAML and Java Maps

This article explains a step‑by‑step approach to mask sensitive fields in API responses by defining desensitization rules in YAML, loading them into Java Maps, and applying recursive logic to traverse nested structures and replace data using regular expressions.

MAPYAMLdata desensitization
0 likes · 22 min read
How to Implement Data Desensitization with YAML and Java Maps
php Courses
php Courses
Aug 14, 2025 · Backend Development

Master PHP String Deduplication: Expert Techniques for Fast, Clean Code

This article explores advanced PHP string handling methods—including array_unique, regular expressions, custom functions, large‑file streaming, and multibyte support—to efficiently remove duplicates, preserve specific repeats, and boost performance in real‑world backend applications.

duplicate removalregexstring handling
0 likes · 5 min read
Master PHP String Deduplication: Expert Techniques for Fast, Clean Code
Raymond Ops
Raymond Ops
Jul 23, 2025 · Operations

Mastering Linux grep: Essential Options and Practical Examples

This guide explains the Linux grep command, detailing its purpose, all available options, and practical examples for searching text, counting matches, handling case sensitivity, recursive searches, and more, helping users master efficient text processing in the terminal.

GrepLinuxcommand-line
0 likes · 8 min read
Mastering Linux grep: Essential Options and Practical Examples
Raymond Ops
Raymond Ops
Jul 13, 2025 · Fundamentals

Master awk: From Basics to Powerful Text Processing in Linux

This comprehensive guide explains what awk is, how to learn it, its syntax of patterns and actions, built‑in variables like NR and NF, and provides practical examples and interview‑style exercises for mastering text processing on the Linux command line.

LinuxShell scriptingawk
0 likes · 19 min read
Master awk: From Basics to Powerful Text Processing in Linux
Ops Community
Ops Community
Jul 2, 2025 · Operations

Master Shell Regex: Boost Your Script Efficiency with Powerful Patterns

This comprehensive guide explains regular expressions in shell scripting, compares them with wildcards, details common wildcard usage, escape characters, metacharacters, quantifiers, and provides numerous grep examples for matching files, strings, and IP addresses, helping you write more efficient scripts.

BashGrepScripting
0 likes · 15 min read
Master Shell Regex: Boost Your Script Efficiency with Powerful Patterns
Raymond Ops
Raymond Ops
Jun 30, 2025 · Backend Development

Master Nginx Regex and Location Matching: Rules, Priorities, and Practical Examples

This article demonstrates how Nginx v1.23.2 processes regular expressions and location directives, explains the matching hierarchy and priority rules, and provides concrete configuration examples—including exact, prefix, and regex‑based locations—so readers can reliably control URL routing in their servers.

BackendConfigurationNginx
0 likes · 13 min read
Master Nginx Regex and Location Matching: Rules, Priorities, and Practical Examples
Open Source Linux
Open Source Linux
Jun 21, 2025 · Fundamentals

Mastering awk: The Ultimate Guide to Text Processing in Linux

This comprehensive tutorial explains the awk command in Linux, covering its origin, syntax, predefined variables, execution flow, functions, expressions, control structures, and practical examples, enabling readers to efficiently process and manipulate text files from the command line.

Shell scriptingawkcommand-line
0 likes · 9 min read
Mastering awk: The Ultimate Guide to Text Processing in Linux
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.

pattern-matchingregextext processing
0 likes · 9 min read
Master Regular Expressions: Key Patterns, Real-World Uses & Common Pitfalls
Raymond Ops
Raymond Ops
Apr 25, 2025 · Fundamentals

Understanding Python’s `is` Operator, re.sub quirks, and list pitfalls

This article explains why Python’s `is` operator yields True or False for integers, how integer caching and code‑block scope affect object identity, uncovers a subtle misuse of re.sub’s count parameter, clarifies lstrip’s character‑wise stripping, and demonstrates the pitfalls of creating nested lists with the `[*] * n` syntax.

PythonString Manipulationlist-issues
0 likes · 7 min read
Understanding Python’s `is` Operator, re.sub quirks, and list pitfalls
FunTester
FunTester
Apr 24, 2025 · Fundamentals

How to Validate Numeric Strings in Java: Multiple Approaches Explained

This article compares five Java techniques for checking whether a string represents a valid number—including manual character iteration, Integer.parseInt/Double.parseDouble, BigDecimal, regular expressions, and Apache Commons NumberUtils—showing code samples, test cases, and the pros and cons of each method.

Apache CommonsBigDecimalNumber Validation
0 likes · 16 min read
How to Validate Numeric Strings in Java: Multiple Approaches Explained
Alibaba Cloud Observability
Alibaba Cloud Observability
Apr 1, 2025 · Cloud Native

How We Boosted Multi-line Log Collection Speed from 90 MB/s to 350 MB/s

This article details a real‑world case where massive multi‑line log volumes overwhelmed iLogtail, explains the performance bottlenecks caused by full‑line regex matching, describes the switch to prefix‑only matching and IngestProcessor, and shows how these changes lifted throughput from under 100 MB/s to over 300 MB/s while halving CPU usage.

iLogtaillog collectionperformance optimization
0 likes · 15 min read
How We Boosted Multi-line Log Collection Speed from 90 MB/s to 350 MB/s
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.

MatcherString processingjava
0 likes · 11 min read
Java Regular Expressions: Syntax, Examples, and Usage
JavaScript
JavaScript
Mar 17, 2025 · Frontend Development

10 Powerful JavaScript String Tricks to Boost Code Readability

This article presents ten practical JavaScript string handling techniques—from template literals and destructuring to modern methods like includes, startsWith, padStart, optional chaining, and string interpolation—each illustrated with concise code examples to improve readability, reduce boilerplate, and enhance maintainability.

Code ExamplesDestructuringJavaScript
0 likes · 4 min read
10 Powerful JavaScript String Tricks to Boost Code Readability
Liangxu Linux
Liangxu Linux
Feb 27, 2025 · Fundamentals

Mastering sed: 30+ Powerful Text Manipulation Tricks for Linux

This comprehensive guide walks you through the essential and advanced features of the Linux sed command, showing how to perform bulk text replacements, deletions, insertions, line extraction, and powerful integrations with find, grep, awk, xargs, and tee, enabling efficient automation of log analysis, configuration updates, and data processing tasks.

LinuxShell scriptingautomation
0 likes · 18 min read
Mastering sed: 30+ Powerful Text Manipulation Tricks for Linux
Ma Wei Says
Ma Wei Says
Feb 14, 2025 · Databases

Master MySQL Regex: All REGEXP Functions Explained

This guide explains MySQL's regular‑expression capabilities—including REGEXP, NOT REGEXP, REGEXP_LIKE, REGEXP_REPLACE, REGEXP_SUBSTR, REGEXP_INSTR and their RLIKE equivalents—covering syntax, multibyte safety, match‑type flags, and practical usage examples.

RegExpmysqlregex
0 likes · 7 min read
Master MySQL Regex: All REGEXP Functions Explained
JavaScript
JavaScript
Feb 5, 2025 · Frontend Development

8 Essential JavaScript String Tricks to Boost Your Code Efficiency

This article presents eight practical JavaScript string manipulation techniques—including template literals, slice shortcuts, repeat, padding, includes, case conversion, split/join, and advanced regex replacements—each illustrated with clear code examples to help developers write cleaner, more efficient code.

Code ExamplesJavaScriptString Manipulation
0 likes · 4 min read
8 Essential JavaScript String Tricks to Boost Your Code Efficiency
Liangxu Linux
Liangxu Linux
Jan 4, 2025 · Backend Development

Master Nginx Regex and Location Matching Rules: How Priority Works

This guide explains Nginx's regular‑expression syntax, the five location prefix types, their matching priority, and provides concrete configuration examples with code snippets and diagrams to help you correctly route requests in a single‑node Nginx v1.23.2 setup.

Backendlocationpriority
0 likes · 14 min read
Master Nginx Regex and Location Matching Rules: How Priority Works
Test Development Learning Exchange
Test Development Learning Exchange
Dec 24, 2024 · Fundamentals

A Comprehensive Guide to Using Regular Expressions in Python

This article introduces Python's built‑in re module, explains how to import it, craft raw‑string patterns, and demonstrates common functions such as findall, match, search, sub, split, as well as compiling patterns, using match objects, flags, meta‑characters, and handling Unicode encoding for robust text processing.

String Manipulationcoding tutorialre module
0 likes · 8 min read
A Comprehensive Guide to Using Regular Expressions in Python
MaGe Linux Operations
MaGe Linux Operations
Dec 24, 2024 · Fundamentals

Mastering grep: Essential Options and Real‑World Examples

This guide explains the Linux grep command, detailing its purpose, syntax, and a comprehensive list of options such as -i, -r, -c, and -w, followed by practical examples that demonstrate searching for strings, handling case sensitivity, counting matches, recursive directory scans, and displaying context lines.

GrepLinuxcommand-line
0 likes · 7 min read
Mastering grep: Essential Options and Real‑World Examples
MaGe Linux Operations
MaGe Linux Operations
Dec 8, 2024 · Fundamentals

Master awk: From Basics to Advanced Text Processing in Linux

This guide introduces awk as a powerful Linux command‑line tool, explains its pattern‑action syntax, built‑in variables such as NR, NF, FS, RS, OFS, and ORS, and provides step‑by‑step examples for generating test data, extracting fields, modifying separators, and solving common interview tasks.

LinuxShell scriptingawk
0 likes · 20 min read
Master awk: From Basics to Advanced Text Processing in Linux
MaGe Linux Operations
MaGe Linux Operations
Nov 27, 2024 · Backend Development

Master Django URL Routing: Regex Groups, Reverse Lookup, and Namespaces

This article explains Django’s URL routing mechanics, covering regex‑based route matching, unnamed and named groups, reverse URL resolution, route distribution across apps, namespaces, and related concepts such as pseudo‑static URLs, providing code snippets and practical guidance for backend developers.

DjangoReverse LookupURL routing
0 likes · 8 min read
Master Django URL Routing: Regex Groups, Reverse Lookup, and Namespaces
Python Crawling & Data Mining
Python Crawling & Data Mining
Nov 8, 2024 · Fundamentals

Extracting Courier Addresses with Python: A Step‑by‑Step Guide

This article walks through a practical Python solution for parsing a list of courier records, extracting province information, grouping entries by location using dictionaries, and optionally applying regular expressions and pandas for further analysis, all illustrated with clear code examples and output screenshots.

DictionariesListsPython
0 likes · 11 min read
Extracting Courier Addresses with Python: A Step‑by‑Step Guide
MaGe Linux Operations
MaGe Linux Operations
Oct 13, 2024 · Fundamentals

Mastering sed: Powerful Text Manipulation and Automation Techniques

This guide explains how to use sed for line‑based text processing, including options for in‑place editing, pattern ranges, odd/even line extraction, substitution with various delimiters and flags, backup strategies, grouping with extended regex, practical exercises, and automating interactive scripts with expect.

Shell scriptingexpectregex
0 likes · 5 min read
Mastering sed: Powerful Text Manipulation and Automation Techniques
Liangxu Linux
Liangxu Linux
Sep 22, 2024 · Backend Development

Why Nginx Matches Locations the Way It Does: Unraveling Literal vs Regex Rules

This article explains Nginx's location matching order, clarifying the difference between literal (prefix) and regular‑expression locations, how exact, ^~, and = prefixes affect the search, and provides step‑by‑step examples with curl tests to illustrate the resulting behavior.

BackendConfigurationNginx
0 likes · 27 min read
Why Nginx Matches Locations the Way It Does: Unraveling Literal vs Regex Rules
Liangxu Linux
Liangxu Linux
Sep 17, 2024 · Fundamentals

How to Quickly Remove Code Comments in Embedded Projects

This guide explains practical methods—including specialized tools, custom scripts, and regular‑expression tricks in editors like VS Code and Notepad++—to efficiently strip //, /* */ and blank‑line comments from C/C++ source files for software copyright submissions.

Notepad++Python scriptVS Code
0 likes · 4 min read
How to Quickly Remove Code Comments in Embedded Projects
Test Development Learning Exchange
Test Development Learning Exchange
Sep 11, 2024 · Fundamentals

Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries

This tutorial introduces core Python concepts—including dictionaries, sets, file and directory handling, regular expressions, logging, unit testing, performance profiling, and common third‑party libraries—providing clear explanations and ready‑to‑run code examples for each topic.

Profilingfile-handlinglogging
0 likes · 6 min read
Python Basics: Dictionaries, Sets, File Operations, Regular Expressions, Logging, Unit Testing, Profiling, and Third‑Party Libraries
php Courses
php Courses
Sep 5, 2024 · Backend Development

Migrating from ereg_replace() to preg_replace() in PHP: A Comprehensive Guide

This guide explains why and how to replace the deprecated ereg_replace() with the modern preg_replace() in PHP, covering performance benefits, syntax differences, migration steps, advanced usage, and practical code examples to help developers update their code safely and efficiently.

BackendPHPPHP8
0 likes · 13 min read
Migrating from ereg_replace() to preg_replace() in PHP: A Comprehensive Guide
Liangxu Linux
Liangxu Linux
Aug 12, 2024 · Backend Development

Mastering Nginx Regex and Location Matching Rules: A Practical Guide

This article explains how Nginx processes regular expressions and location directives, details the syntax and priority of different location prefixes, and provides concrete configuration examples with code snippets and diagrams to help developers correctly match request URIs.

BackendConfigurationNginx
0 likes · 13 min read
Mastering Nginx Regex and Location Matching Rules: A Practical Guide
MaGe Linux Operations
MaGe Linux Operations
Jul 27, 2024 · Backend Development

Why Nginx Matches Literal Locations Before Regex – Uncover the Real Order

This article explains Nginx's location‑matching algorithm, showing that literal (plain) locations are evaluated before regular‑expression locations, how prefixes like =, ^~, and ~ affect the search, the role of exact versus longest‑prefix matches, and includes practical configuration examples and installation tips.

ConfigurationNginxWeb server
0 likes · 25 min read
Why Nginx Matches Literal Locations Before Regex – Uncover the Real Order
Top Architect
Top Architect
Jul 11, 2024 · Backend Development

Implementing Fuzzy Company Name Matching with MySQL REGEXP and Java

This article describes a backend solution for a company approval workflow that extracts key information from company names, tokenizes them using IKAnalyzer, applies MySQL REGEXP for fuzzy matching, and sorts results by match degree, complete with code examples and deployment tips.

fuzzy-matchingjavaregex
0 likes · 17 min read
Implementing Fuzzy Company Name Matching with MySQL REGEXP and Java
Test Development Learning Exchange
Test Development Learning Exchange
Jul 11, 2024 · Fundamentals

10 Handy Python Regular Expression Scripts for Common Tasks

This article presents ten concise Python regular‑expression scripts that demonstrate how to validate email addresses, extract URLs, replace numbers, assess password strength, split strings, match dates, strip HTML tags, capitalize words, find phone numbers, and replace specific characters, empowering developers with practical pattern‑matching techniques.

PythonScriptingprogramming
0 likes · 5 min read
10 Handy Python Regular Expression Scripts for Common Tasks
21CTO
21CTO
Jun 25, 2024 · Fundamentals

TypeScript 5.5 Highlights: New Set API, Faster Builds, and Regex Checks

TypeScript 5.5 introduces inferred type predicates, enhanced regular‑expression checks, performance optimizations like faster transpileModule, reduced package size, new Set methods (union, intersection, difference, isSubsetOf), support for ECMAScript Set APIs, @import syntax, and a transpileDeclaration API, while addressing previous RC issues.

JavaScriptSet APITypeScript
0 likes · 5 min read
TypeScript 5.5 Highlights: New Set API, Faster Builds, and Regex Checks
Goodme Frontend Team
Goodme Frontend Team
May 27, 2024 · Frontend Development

How to Build a VSCode Extension that Visualizes All Project Colors

This article walks through the complete process of creating a VSCode extension that scans the workspace for color values, visualizes them in a grid, supports Hex and RGB formats, and provides quick copy and refresh features using WebView panels and TypeScript.

ExtensionWebViewcolor visualization
0 likes · 26 min read
How to Build a VSCode Extension that Visualizes All Project Colors
Architect
Architect
May 24, 2024 · Backend Development

How to Build a MySQL‑Based Fuzzy Company Name Matcher with Regex and IKAnalyzer

This article walks through a real‑world approval workflow where a business user adds a company, explains why MySQL REGEXP is chosen over Elasticsearch for fuzzy matching, and details the step‑by‑step implementation—including name preprocessing, tokenization with IKAnalyzer, and a custom SQL query that ranks results by match degree.

IKAnalyzerbackend-developmentdatabase
0 likes · 13 min read
How to Build a MySQL‑Based Fuzzy Company Name Matcher with Regex and IKAnalyzer
Python Programming Learning Circle
Python Programming Learning Circle
Apr 28, 2024 · Fundamentals

Data Cleaning Techniques in Python: 21 Practical Examples and Code

This tutorial explains data cleaning concepts, key quality dimensions, and demonstrates 21 practical Python examples—including regex phone cleaning, temperature conversion, missing‑value detection, visualization with missingno, and record linkage using fuzzy matching—providing clear code snippets and step‑by‑step guidance for reliable data analysis.

data cleaningmissing datapandas
0 likes · 20 min read
Data Cleaning Techniques in Python: 21 Practical Examples and Code
Baidu Geek Talk
Baidu Geek Talk
Apr 22, 2024 · Artificial Intelligence

Designing Effective Prompts for Large Language Models: Structure, Code Examples, and Regex Extraction

The article presents a systematic prompt template—comprising Instruction, Input Data, Context, and Output Indicator—demonstrates code examples for single‑ and multi‑task formatting, shows how clear markers enable regex extraction, and introduces Baidu’s PaddlePaddle Star River Community to simplify building reliable LLM‑driven applications.

AICode ExamplePython
0 likes · 13 min read
Designing Effective Prompts for Large Language Models: Structure, Code Examples, and Regex Extraction
MaGe Linux Operations
MaGe Linux Operations
Apr 7, 2024 · Fundamentals

Mastering sed: Variable Substitution, Quoting, and Advanced Tricks

This article explains how to correctly use shell variables and variable substitution in sed, clarifies quoting rules, demonstrates retrieving the last N lines, handling backreferences, the -i option, greedy matching, the interplay of a and N commands, exclamation negation, and troubleshooting high CPU usage.

Shellquotingregex
0 likes · 15 min read
Mastering sed: Variable Substitution, Quoting, and Advanced Tricks
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.

DFANFAcapture groups
0 likes · 37 min read
Understanding Regular Expressions: Syntax, Engines, and Best Practices
php Courses
php Courses
Feb 28, 2024 · Backend Development

Using PHP preg_match for Regular Expression Matching

This article introduces PHP's preg_match function, demonstrates simple and complex regular expression examples—including string and email matching—and explains common regex patterns, showing how to perform powerful and flexible text matching in backend development.

preg_matchregexstring-matching
0 likes · 4 min read
Using PHP preg_match for Regular Expression Matching
IT Services Circle
IT Services Circle
Feb 27, 2024 · Backend Development

Common Causes of 100% CPU Usage in Java Backend Systems and Their Solutions

This article analyzes typical reasons why Java backend services experience sustained 100% CPU usage—such as bulk data retrieval, Kafka auto‑acknowledgement, infinite loops, excessive multithreading, massive file synchronization, deadlocks, inefficient regular expressions, and heavy real‑time calculations—and offers practical mitigation strategies.

CPUKafkadeadlock
0 likes · 9 min read
Common Causes of 100% CPU Usage in Java Backend Systems and Their Solutions
php Courses
php Courses
Dec 18, 2023 · Backend Development

PHP Routing Strategies: Basic and Regex-Based Approaches

This article explains two PHP routing strategies—an original path‑based method that maps URL segments to controller and action names, and a more flexible regular‑expression based method that uses pattern matching for complex URL structures—providing code examples and guidance on when to use each.

Backendregexrouting
0 likes · 5 min read
PHP Routing Strategies: Basic and Regex-Based Approaches
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.

PHPString processingpreg_match
0 likes · 7 min read
PHP Regular Expression Functions: Syntax, Usage, and Examples
Sohu Tech Products
Sohu Tech Products
Nov 22, 2023 · Big Data

Field Extraction and Read‑Time Modeling in the Honghu Data Platform

The Honghu data platform delivers a unified, UI‑driven environment that uses read‑time modeling to dynamically structure massive heterogeneous logs during queries, replacing pre‑defined schemas and ETL pipelines with rule‑based field extraction (regex, JSON, key‑value, IP) bound to data‑source types, trading CPU cycles for flexible, accurate analysis.

Data Platformfield extractionread-time modeling
0 likes · 17 min read
Field Extraction and Read‑Time Modeling in the Honghu Data Platform
php Courses
php Courses
Nov 15, 2023 · Backend Development

Using PHP preg_replace() for String Replacement: Syntax, Examples, and Tips

This article explains the PHP preg_replace() function, its basic syntax, and provides multiple code examples showing how to replace specific characters, optional characters, digits, perform case‑insensitive replacements, and mask email addresses using regular expressions.

Tutorialpreg_replaceregex
0 likes · 4 min read
Using PHP preg_replace() for String Replacement: Syntax, Examples, and Tips
JD Retail Technology
JD Retail Technology
Nov 7, 2023 · Backend Development

Practical Cases of Using ChatGPT for Backend Development Tasks

This document presents a series of real‑world examples showing how ChatGPT can assist cloud‑trading developers with backend tasks such as resource scheduling, regex interpretation, CSV generation, JavaBean‑to‑JSON conversion, Spring IoC learning, JSON formatting, Java 8 stream processing, and CI pipeline error analysis.

CSVChatGPTJava8 Streams
0 likes · 5 min read
Practical Cases of Using ChatGPT for Backend Development Tasks
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 21, 2023 · Fundamentals

How to Extract Exact 6‑Digit Codes from Mixed Text Using Python Regex

This article walks through extracting six‑digit numeric codes from strings containing letters, numbers, and symbols using Python regular expressions and pandas, presenting multiple community‑sourced approaches, complete code examples, and visual explanations to help readers solve similar data extraction challenges.

Code TutorialPythonString processing
0 likes · 5 min read
How to Extract Exact 6‑Digit Codes from Mixed Text Using Python Regex
Python Crawling & Data Mining
Python Crawling & Data Mining
Oct 20, 2023 · Fundamentals

How to Extract Exact 6-Digit Numbers with Python Regex – Real‑World Tips

This article walks through a real‑world Python regex challenge of extracting exactly six consecutive digits from mixed alphanumeric strings, showcases successful and failed examples, shares multiple solution attempts from community experts, and offers practical advice for handling noisy data and avoiding false positives.

String processingTutorialregex
0 likes · 4 min read
How to Extract Exact 6-Digit Numbers with Python Regex – Real‑World Tips
php Courses
php Courses
Jul 13, 2023 · Backend Development

Removing HTML Tags in PHP: Using strip_tags and Regular Expressions

This article explains how to strip HTML tags from user‑generated content in PHP by using the built‑in strip_tags function and by applying regular expressions with preg_replace, including code examples, optional tag preservation, and performance considerations.

HTMLWeb Developmentregex
0 likes · 4 min read
Removing HTML Tags in PHP: Using strip_tags and Regular Expressions
Liangxu Linux
Liangxu Linux
Jun 26, 2023 · Fundamentals

Master Regular Expressions in Shell: Practical sed & gawk Guide

This tutorial explains how to create and use regular expressions with the sed editor and gawk program in shell scripts, covering basic concepts, pattern types, special characters, quantifiers, grouping, and real‑world examples such as counting files, validating phone numbers, and verifying email addresses.

Bashgawkregex
0 likes · 34 min read
Master Regular Expressions in Shell: Practical sed & gawk Guide
php Courses
php Courses
Apr 10, 2023 · Backend Development

A PHP Web Crawler: Design, Implementation, and Challenges

This article describes a PHP‑based web crawler that extracts links and images using regular expressions, stores URLs in MySQL, handles duplicate detection via MD5, discusses performance limitations, and provides the full source code and usage instructions.

PHPURL processingWeb Crawler
0 likes · 8 min read
A PHP Web Crawler: Design, Implementation, and Challenges
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.

Pythonmetacharacterspattern-matching
0 likes · 6 min read
Common Regular Expression Metacharacters and Their Usage in Python