Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Commit a6ea115

Browse files
author
github-actions
committed
Prepare release for version 0.58.0
1 parent 91eb3b8 commit a6ea115

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [0.58.0]
4+
5+
- Released @ 2024-06-23 04:39:19.016054Z
6+
- Organize source code structure and refactor
7+
38
## [0.57.1]
49

510
- Released @ 2024-06-23 04:28:16.242352Z

lib/src/string_patterns/src/replace_patterns.dart

+3-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ String replacePatterns(
3030
final e1 = parts.elementAtOrNull(1);
3131
final key = (e1 ?? e0)!;
3232
final defaultValue = e0 ?? key;
33-
final data1 =
34-
settings.caseSensitive ? data : data.map((k, v) => MapEntry(k.toString().toLowerCase(), v));
33+
final data1 = settings.caseSensitive
34+
? data
35+
: data.map((k, v) => MapEntry(k.toString().toLowerCase(), v));
3536
final key1 = settings.caseSensitive ? key : key.toLowerCase();
3637
final suggestedReplacementValue = data1[key1];
3738
final replacementValue =

0 commit comments

Comments
 (0)