Useful Links
Computer Science
Algorithms and Data Structures
Regular Expressions
1. Introduction to Regular Expressions
2. Fundamental Concepts
3. Basic Syntax Elements
4. Quantifiers and Repetition
5. Grouping and Capturing
6. Advanced Pattern Constructs
7. Flags and Modifiers
8. Regular Expression Engines
9. Common Patterns and Applications
10. Performance and Optimization
11. Debugging and Testing
12. Theoretical Foundations
13. Advanced Topics
Grouping and Capturing
Basic Grouping
Parentheses Syntax
Subpattern Organization
Precedence Control
Nested Groups
Capturing Groups
Automatic Numbering
Group References
Capture Storage
Group Hierarchy
Non-Capturing Groups
Syntax and Purpose
Performance Benefits
Readability Improvements
When to Use
Named Groups
Named Capture Syntax
Reference by Name
Language Variations
Advantages over Numbered Groups
Backreferences
Numbered Backreferences
Named Backreferences
Self-Referencing Patterns
Replacement Context Usage
Previous
4. Quantifiers and Repetition
Go to top
Next
6. Advanced Pattern Constructs