Tag

Raw Strings

0 views collected around this technical thread.

Test Development Learning Exchange
Test Development Learning Exchange
Sep 23, 2023 · Fundamentals

Understanding Python String Prefixes: u, r, b, and f

Python string prefixes such as u (Unicode), r (raw), b (bytes), and f (formatted) indicate special string types, with each prefix altering how the string is interpreted, and the article explains their meanings, usage, and provides code examples for each.

Formatted StringsRaw StringsString Prefixes
0 likes · 3 min read
Understanding Python String Prefixes: u, r, b, and f
Python Programming Learning Circle
Python Programming Learning Circle
Apr 6, 2020 · Fundamentals

Using Regular Expressions in Python: Raw Strings, match, search, findall, and Grouping

This article explains how Python's re module works, covering raw string literals, the differences between match, search, and findall methods, how to retrieve match positions, and how to use numbered and named groups for extracting sub‑patterns from text.

GroupingPythonRaw Strings
0 likes · 7 min read
Using Regular Expressions in Python: Raw Strings, match, search, findall, and Grouping
Python Programming Learning Circle
Python Programming Learning Circle
Mar 23, 2020 · Fundamentals

Understanding Escape Characters and Regular Expressions in Python

This article explains Python's escape characters, raw strings, the fundamentals of regular expressions, their matching process, greedy versus non‑greedy quantifiers, backslash handling, and provides detailed examples of the re module's functions such as compile, match, search, split, findall, finditer, sub and subn.

Escape CharactersPythonRaw Strings
0 likes · 17 min read
Understanding Escape Characters and Regular Expressions in Python