0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-27 09:12:36 +01:00
Commit graph

52 commits

Author SHA1 Message Date
Jason Volk
486d9c1133 ircd: Replace inefficient std::replace(). 2020-08-10 04:56:28 -07:00
Jason Volk
985d21ad7c ircd: Add assertion in replace() stringop; minor cleanup. 2020-08-10 04:56:28 -07:00
Jason Volk
582860f789 ircd: Use strip(n=1) for unquote() tool. 2020-07-23 13:08:30 -07:00
Jason Volk
238a473b08 ircd: Add strip(n) proxy overloads to interface. 2020-07-23 13:08:30 -07:00
Jason Volk
3cf6f8c284 ircd::stringops: Minor cleanup; formatting/consistency. 2020-04-05 13:02:20 -07:00
Jason Volk
8c33f21f95 ircd::stringops: Add noexcept to indexof().
ircd::stringops: Minor simplifications.

ircd::stringops: Fix return value.
2020-04-03 14:37:14 -07:00
Jason Volk
344510086b ircd: Add vectorized multi-string match tool. 2020-03-14 17:29:32 -07:00
Jason Volk
32459bd7f1 ircd: Add multi-string table index util, naive impl. 2020-03-13 11:28:27 -07:00
Jason Volk
0231e26c76 ircd: Add overloads for counted character leading/trailing strip. 2020-01-23 20:55:13 -08:00
Jason Volk
954fed8bba ircd::stringops: Mark the has() template inline to avoid plt. 2019-08-24 16:49:01 -07:00
Jason Volk
32ec94e29b ircd: Add ifind() to stringops suite. 2019-08-07 16:32:12 -07:00
Jason Volk
aa013ac526 ircd: Add string_view based tolower()/toupper(). 2019-08-02 21:02:40 -07:00
Jason Volk
de94e95422 ircd: Split out overgrown components from stringops.h 2019-07-11 15:51:09 -07:00
Jason Volk
d53744b3f8 ircd: Rename gmatch/gequals. 2019-07-11 15:51:09 -07:00
Jason Volk
19b85ef908 ircd: Add mutable_buffer based replace_copy stringop. 2019-06-26 01:44:23 -07:00
Jason Volk
5c03f4e08f ircd: Add mutable_buffer inplace replace to stringops. 2019-06-26 01:16:27 -07:00
Jason Volk
fe41932b1a ircd: Add #ifdefs around potentially conflicting BSD stringops. 2019-06-06 02:59:57 -07:00
Jason Volk
868d96b89d ircd: Minor cleanup. 2019-06-05 12:57:10 -07:00
Jason Volk
8aa67ccb48 ircd: Add stringops suite for globular expression matching. 2019-05-25 16:46:51 -07:00
Jason Volk
1ceded5ffa ircd: Cleanup/simplify case-insensitive comparisons. 2018-12-31 12:28:28 -08:00
Jason Volk
5b870f9437 ircd: Add ihas() case insensitive string searching. 2018-09-14 07:44:44 -07:00
Jason Volk
1346fdd639 ircd: Fix bug. 2018-09-04 00:43:54 -07:00
Jason Volk
0808058ccd ircd: Add various missing top-level \briefs. 2018-05-21 03:01:50 -07:00
Jason Volk
2ed18d38c2 ircd: Further modernize vintage strl* suite. 2018-05-05 16:31:57 -07:00
Jason Volk
048ecf07bb ircd: Simplify some stringops. 2018-04-06 22:23:18 -07:00
Jason Volk
bdd5006f32 ircd: Add missing replace() stringops overload. 2018-03-25 14:57:09 -07:00
Jason Volk
fa5a30e751 ircd: Add stringops to lstrip/rstrip limited to n count. 2018-03-03 04:06:49 -08:00
Jason Volk
73c667c238 ircd: Add substring replacement stringop. 2018-02-28 00:18:47 -08:00
Jason Volk
be624ca7f6 Update Copyrastafaris. 2018-02-05 21:24:34 -08:00
Jason Volk
0912b5366a ircd: Use intuitive semantics for the strip() suite. 2018-01-22 00:54:51 -08:00
Jason Volk
09dc4acf06 ircd: Remove legacy stringops. 2018-01-19 02:47:08 -08:00
Jason Volk
7599c4bb6e ircd: Maintain data pointer of string_view's through various ops. 2017-11-30 11:23:43 -08:00
Jason Volk
b1acf2cef1 ircd: Minor fixes for g++-7 c++17. 2017-11-30 11:23:42 -08:00
Jason Volk
a22e4917c8 ircd: Add has() stringop because find() != npos is an annoying construct. 2017-11-30 11:23:40 -08:00
Jason Volk
70326ed471 ircd: Add our buffer type as overload to strlcat/strlcpy vintage suite. 2017-11-30 11:23:40 -08:00
Jason Volk
d0a8fc3a86 ircd: Add trunc() stringops utility. 2017-10-15 21:24:35 -07:00
Jason Volk
908fde12c4 ircd: Add string replace() utils. 2017-10-11 20:54:02 -07:00
Jason Volk
c44970427a ircd: Minor cleanup. 2017-10-11 18:18:20 -07:00
Jason Volk
0399ddf3e3 ircd: Add stringops for counting starting and ending occurrences. 2017-10-03 04:27:14 -07:00
Jason Volk
4cf197d263 ircd: Add chrono::hours; various cleanup; comments. 2017-10-03 04:27:14 -07:00
Jason Volk
9c712486a1 ircd: Split up lexical.h; comments; cleanup. 2017-10-03 04:27:13 -07:00
Jason Volk
c9ddf4f6ab ircd: Add lex_cast wrapper interface; various cleanup. 2017-03-14 15:03:15 -07:00
Jason Volk
49c2a5361c ircd: Various fixes. 2017-03-13 14:43:27 -07:00
Jason Volk
b592b69b86 What is the Matrix? Control. 2017-03-10 17:51:18 -08:00
Jason Volk
b44eb91437 ircd: Add stringops rsplit(). 2016-11-13 16:29:47 -08:00
Jason Volk
c704c67aa5 ircd: Add more stringops tokenizer overloads. 2016-11-13 16:29:46 -08:00
Jason Volk
43b07d1180 ircd: Add more token related stringops. 2016-10-11 03:30:11 -07:00
Jason Volk
d4bcf904c3 ircd: Add single char overloads for startswith()/endswith() stringops. 2016-09-28 14:16:14 -07:00
Jason Volk
3e1bf93a22 ircd: Move reconstruct_parv() from parse.cc to stringops.cc 2016-09-09 16:17:02 -07:00
Jason Volk
4399c1e2c3 ircd: Populate stringops with some general utils. 2016-09-09 16:17:01 -07:00