Tagged articles
regexp
16 articles · Page 1 of 1
The article dissects why Go’s standard regexp package lags behind Python and other languages, tracing the slowdown to a pure‑Go implementation that avoids CGO, the choice of a Thompson‑NFA engine for safety, heavy UTF‑8 rune decoding, memory‑intensive NFA simulation, and shows how community projects like coregex reclaim performance while preserving Go’s safety guarantees.
GoSIMDcgo
0 likes · 13 min read

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.
MySQLSQLregex
0 likes · 7 min read

Several Stage‑3 TC39 proposals—including Error.isError for reliable error type checks, RegExp.escape for safe regex construction, Uint8Array methods for base64/hex conversion, and Temporal.TimeZone.prototype.equals for canonical time‑zone comparison—aim to enhance JavaScript’s core capabilities across browsers and Node.js.
Base64JavaScriptTC39
0 likes · 8 min read

This article reviews the latest Stage 4 ECMAScript proposals—including ArrayBuffer transfer, iterator helpers, RegExp modifiers, import attributes, Promise.try, duplicate named capture groups, and Set methods—explaining their purpose, syntax, and example usage for modern JavaScript development.
ArrayBufferECMAScriptJavaScript
0 likes · 13 min read


21CTOOct 7, 2024 · Frontend Development
This article reviews the six key ECMAScript 2024 proposals—including well‑formed Unicode strings, asynchronous atomic wait, the new RegExp v flag, ArrayBuffer transfer, array grouping, and Promise.withResolvers—explaining their purpose, API changes, and providing runnable code examples.
ArrayBufferECMAScriptJavaScript
0 likes · 9 min read

This article describes a business approval scenario where a company name entered by a business user must be checked for duplicates, and explains how to implement fuzzy matching using MySQL RegExp, tokenization with IKAnalyzer, and Java service code to extract, preprocess, match, and rank results by relevance.
BackendJavaMySQL
0 likes · 11 min read

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 GroupsJavaScriptRegex Basics
0 likes · 8 min read

This article provides a comprehensive guide to JavaScript regular expressions, covering definition methods, flags, metacharacters, assertions, RegExp object properties and methods, capturing and non‑capturing groups, greedy vs lazy matching, backreferences, and common pitfalls, all illustrated with clear code examples and diagrams.
Coding TipsJavaScriptpattern matching
0 likes · 9 min read

This article reviews recent TC39 proposals—including findLast, Symbol-as-WeakMap keys, JSON.parse source text access, String.dedent, RegExp modifiers, atomic operators, and faster Promise adoption—explaining their stage progress, technical details, and practical code examples for modern JavaScript development.
ECMAScriptJavaScriptPromise
0 likes · 17 min read

The December TC39 meeting updated several proposals—including moving Intl.Segmenter to Stage 1 as V2, adding new timeZoneName values, expanding Intl.DisplayNames, introducing Array.prototype.groupBy and Array.fromAsync, and refining RegExp modifiers and buffer boundaries—while outlining the criteria for advancing proposals through the stages.
Array MethodsECMAScript proposalsJavaScript
0 likes · 18 min read

This article reviews recent TC39 proposals that have reached Stage 4—including Intl.Segmenter, Error Cause, Intl.DurationFormat, Array.groupBy, Destructuring Private Fields, String.cooked, RegExp modifiers, RegExp \R, buffer boundaries, Evaluator Attributes, and Bind‑this—explaining their goals, usage, and providing practical JavaScript code examples.
ECMAScriptJavaScriptLanguage Proposals
0 likes · 22 min read

The TC39 January 29 meeting reviewed progress of multiple proposals advancing to later stages—including Intl.DateTimeFormat.formatRange, JSON Modules, Private‑In, Class Static Initializer Block, ResizableArrayBuffer, new Intl APIs, RegExp enhancements, Array findLast, defer import, and several internationalization extensions—detailing requirements, implementations, and upcoming milestones.
ECMAScriptJavaScriptTC39
0 likes · 23 min read

This article provides concise answers to common MySQL questions covering default ports, regular expression usage, index limits, query examples for retrieving rows, date functions, savepoints, ENUM types, storage engines, connection functions, ACLs, and other essential database concepts.
MySQLQueriesSQL
0 likes · 9 min read

The article introduces the major ES2018 additions—including rest/spread properties, asynchronous iteration, Promise.prototype.finally, and four RegExp enhancements—explains their syntax and usage with examples, and lists Node.js versions that support each feature, helping developers adopt the latest JavaScript capabilities.
ES2018JavaScriptNode.js
0 likes · 13 min read

This article explains the fundamental differences between JavaScript's exec and match methods, showing which belongs to RegExp or String, how the global "g" flag affects their behavior, and provides practical code examples to help you choose the right one.
Stringexecmatch
0 likes · 3 min read

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.
String Methodspattern matchingregex
0 likes · 6 min read
