Skip to content

Commit

Permalink
Release v1.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Ihor Bokov committed Apr 11, 2024
1 parent a5b08f3 commit 68abc11
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.1.9

- Updated analysis library.

# 1.1.8

- Updated analysis rules.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 phimary
Copyright (c) 2022 dowhile

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
4 changes: 2 additions & 2 deletions lib/src/string_extensions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ extension StringX on String {

/// Returns special symbols of this [String].
String get specialSymbols =>
remove(RegExp(r'[^/!@#$%^\-&*()+",.?":{}|<>~_-`]'));
remove(RegExp(r'[^/!@#$%^\-&*()+",.?:{}|<>~_-`]'));

/// Returns true if this [String] contains digits.
bool get hasDigits => digits.isNotEmpty;
Expand Down Expand Up @@ -298,7 +298,7 @@ extension StringX on String {

/// Removes all special symbols from this [String].
String removeSpecialSymbols() =>
remove(RegExp(r'[/!@#$%^\-&*()+",.?":{}|<>~_-`]'));
remove(RegExp(r'[/!@#$%^\-&*()+",.?:{}|<>~_-`]'));

/// Whether the regular expression has a match in this [String].
bool hasMatch(String source) => RegExp(source).hasMatch(this);
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: daily_extensions
description: Set of most useful Dart extensions for daily use that increases development velocity.
version: 1.1.8
version: 1.1.9
homepage: https://github.com/phimary/daily_extensions

environment:
sdk: '>=2.12.0 <3.0.0'
sdk: '>=2.12.0 <4.0.0'

dev_dependencies:
test: ^1.16.0
very_good_analysis: ^4.0.0
very_good_analysis: ^5.1.0

0 comments on commit 68abc11

Please sign in to comment.