<feed xmlns='http://www.w3.org/2005/Atom'>
<title>fzf/src/pattern.go, branch v0.66.0-custom</title>
<subtitle>Personal fork of fzf</subtitle>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/'/>
<entry>
<title>Allow suffix match on --nth with custom --delimiter</title>
<updated>2025-02-12T11:53:32+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-02-12T11:50:01+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=9abf2c8c9ca625f30ff0775316f51ad798a922f3'/>
<id>9abf2c8c9ca625f30ff0775316f51ad798a922f3</id>
<content type='text'>
When --nth is used with a custom --delimiter, the last delimiter was
included in the search scope, forcing you to write the delimiter in
a suffix-match query. This commit removes the last delimiter from the
search scope.

  # No need to write 'bar,$'
  echo foo,bar,baz | fzf --delimiter , --nth 2 --filter 'bar$'

This can be seen as a breaking change, but I'm gonna say it's a bug fix.

Fix #3983
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When --nth is used with a custom --delimiter, the last delimiter was
included in the search scope, forcing you to write the delimiter in
a suffix-match query. This commit removes the last delimiter from the
search scope.

  # No need to write 'bar,$'
  echo foo,bar,baz | fzf --delimiter , --nth 2 --filter 'bar$'

This can be seen as a breaking change, but I'm gonna say it's a bug fix.

Fix #3983
</pre>
</div>
</content>
</entry>
<entry>
<title>Add 'exclude' action for excluding current/selected items from the result (#4231)</title>
<updated>2025-02-09T04:22:33+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-02-09T04:22:33+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=67dd7e1923f8084de1064bf54659100626c1e0ef'/>
<id>67dd7e1923f8084de1064bf54659100626c1e0ef</id>
<content type='text'>
Close #4185</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close #4185</pre>
</div>
</content>
</entry>
<entry>
<title>Add --accept-nth option to transform the output</title>
<updated>2025-02-09T02:53:35+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-02-09T02:53:35+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=2b584586ed1caf15429625da981575ee35d407b8'/>
<id>2b584586ed1caf15429625da981575ee35d407b8</id>
<content type='text'>
This option can be used to replace a sed or awk in the post-processing step.

  ps -ef | fzf --multi --header-lines 1 | awk '{print $2}'
  ps -ef | fzf --multi --header-lines 1 --accept-nth 2

This may not be a very "Unix-y" thing to do, so I've always felt that fzf
shouldn't have such an option, but I've finally changed my mind because:

* fzf can be configured with a custom delimiter that is a fixed string
  or a regular expression.
* In such cases, you'd need to repeat the delimiter again in the
  post-processing step.
* Also, tools like awk or sed may interpret a regular expression
  differently, causing mismatches.

You can still use sed, cut, or awk if you prefer.

Close #3987
Close #1323
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This option can be used to replace a sed or awk in the post-processing step.

  ps -ef | fzf --multi --header-lines 1 | awk '{print $2}'
  ps -ef | fzf --multi --header-lines 1 --accept-nth 2

This may not be a very "Unix-y" thing to do, so I've always felt that fzf
shouldn't have such an option, but I've finally changed my mind because:

* fzf can be configured with a custom delimiter that is a fixed string
  or a regular expression.
* In such cases, you'd need to repeat the delimiter again in the
  post-processing step.
* Also, tools like awk or sed may interpret a regular expression
  differently, causing mismatches.

You can still use sed, cut, or awk if you prefer.

Close #3987
Close #1323
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix nth highlighting</title>
<updated>2025-02-06T10:57:39+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-02-06T10:56:40+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=62e0a2824a9ed2783fee54f53dd258a2bc3ed795'/>
<id>62e0a2824a9ed2783fee54f53dd258a2bc3ed795</id>
<content type='text'>
Fix #4222
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix #4222
</pre>
</div>
</content>
</entry>
<entry>
<title>Simplify nth comparison when reusing transformed tokens</title>
<updated>2025-01-13T08:37:50+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-01-13T08:37:50+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=56fef7c8df2713261fbdbd396aa81ed23d9a945a'/>
<id>56fef7c8df2713261fbdbd396aa81ed23d9a945a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix change-nth</title>
<updated>2025-01-13T03:45:01+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2025-01-13T03:45:01+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=ba0935c71f5507958056201ddad2fc48674a586d'/>
<id>ba0935c71f5507958056201ddad2fc48674a586d</id>
<content type='text'>
* Proper clean-up of caches
* Force rerender list after the action
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Proper clean-up of caches
* Force rerender list after the action
</pre>
</div>
</content>
</entry>
<entry>
<title>Require quotes on both sides for boundary matching even in --exact mode</title>
<updated>2024-08-29T08:08:23+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-08-16T09:02:36+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=efbcd5a6833939c3e9c1347587fd5118e8f3705e'/>
<id>efbcd5a6833939c3e9c1347587fd5118e8f3705e</id>
<content type='text'>
Only requiring '-suffix in --exact mode is confusing and not
straightforward. Requiring '-prefix in --exact mode means that
the users can experience unintended mode switches while typing.

e.g.
     'it   -&gt; fuzzy (many results)
     'it'  -&gt; boundary (few results)
     'it's -&gt; fuzzy (many results)

However, user who intends to input a boundary query should not be
interested in the intermediate results, and the number of matches
decreases as she types, so it should be okay.

On the other hand, user who does intend to type "it's" will be surprised
by the sudden decrease of the match count, but eventually get the right
result.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Only requiring '-suffix in --exact mode is confusing and not
straightforward. Requiring '-prefix in --exact mode means that
the users can experience unintended mode switches while typing.

e.g.
     'it   -&gt; fuzzy (many results)
     'it'  -&gt; boundary (few results)
     'it's -&gt; fuzzy (many results)

However, user who intends to input a boundary query should not be
interested in the intermediate results, and the number of matches
decreases as she types, so it should be okay.

On the other hand, user who does intend to type "it's" will be surprised
by the sudden decrease of the match count, but eventually get the right
result.
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement exact-boundary match type</title>
<updated>2024-08-29T08:08:23+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-08-13T02:19:54+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=6a67712944bbba3bfbb04e6ad02f7ae7d55cd238'/>
<id>6a67712944bbba3bfbb04e6ad02f7ae7d55cd238</id>
<content type='text'>
Close #3963
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Close #3963
</pre>
</div>
</content>
</entry>
<entry>
<title>chore: use strings.ReplaceAll (#3801)</title>
<updated>2024-05-18T08:06:33+00:00</updated>
<author>
<name>Zhizhen He</name>
<email>hezhizhen.yi@gmail.com</email>
</author>
<published>2024-05-18T08:06:33+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=01e7668915c4e3cf8c9eeca283d41beac924fe1f'/>
<id>01e7668915c4e3cf8c9eeca283d41beac924fe1f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor the code so that fzf can be used as a library (#3769)</title>
<updated>2024-05-06T16:06:42+00:00</updated>
<author>
<name>Junegunn Choi</name>
<email>junegunn.c@gmail.com</email>
</author>
<published>2024-05-06T16:06:42+00:00</published>
<link rel='alternate' type='text/html' href='https://grim.freemyip.com/cgit/fzf/commit/?id=e8405f40fe2eb3675f1cb4f69e825eff5f13f269'/>
<id>e8405f40fe2eb3675f1cb4f69e825eff5f13f269</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
