Title: Alex Kirk – Page 99 – Alex Kirk

---

![Alex Kirk](https://alex.kirk.at/wp-content/uploads/sites/2/2025/06/cropped-2025.
Alex-512x512-1-120x120.jpg)

Alex Kirk

@alex@kirk.at


 **274** posts

 **300** followers

 Blog

[https://alex.kirk.at/](https://alex.kirk.at/)

 [ Posts & Replies ](https://alex.kirk.at/author/alex/page/99/?output_format=md&filter=posts-and-replies)
[ Posts ](https://alex.kirk.at/author/alex/page/99/?output_format=md&filter=posts)

 * 
   ## 󠀁[New Feature for HN Collapsible Threads: Collapse Whole Thread](https://alex.kirk.at/2011/12/06/new-feature-for-hn-collapsible-threads/)󠁿
   
 * I have added a feature to the HN Collapsible Threads bookmarklet that enables
   you to close a whole thread from any point within the thread: This is useful 
   when you are reading a thread and decided that you are having enough of it and
   want to move on to the next thread. Before you had…
 * 
   ## 󠀁[preg_match, UTF-8 and whitespace](https://alex.kirk.at/2011/10/01/preg_match-utf-8-and-whitespace/)󠁿
   
 * Just a quick note, be careful when using the whitespace character \s in preg_match
   when operating with UTF-8 strings. Suppose you have a string containing a dagger
   symbol. When you try to strip all whitespace from the string like this, you will
   end up with an invalid UTF-8 character: $ php -r ‘echo preg_replace(“#\s#”, “”,…

 [Previous Page](https://alex.kirk.at/author/alex/page/98/?output_format=md)

[1](https://alex.kirk.at/author/alex/?output_format=md) … [97](https://alex.kirk.at/author/alex/page/97/?output_format=md)
[98](https://alex.kirk.at/author/alex/page/98/?output_format=md) 99 [100](https://alex.kirk.at/author/alex/page/100/?output_format=md)
[101](https://alex.kirk.at/author/alex/page/101/?output_format=md) … [137](https://alex.kirk.at/author/alex/page/137/?output_format=md)

 [Next Page](https://alex.kirk.at/author/alex/page/100/?output_format=md)