Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Clarification on Handling of Underscores in Searches

In Bitbucket v4.13.0, searching for "pfp_" returned all the occurrences in our instance just fine.

However, after upgrading to v6.9.0 - today the result only lists the filenames, not the matched contents. 

Without the "_" all "pfp" occurrences will show. Also, "pfp_i" returns not found when there is a match :

  • the "pfp_" search returned file names only. Opening the files I noticed that the term "pfp_" did not appear, so the search appears to be returning file names.  Not sure what this means.
  • "pfp\_" (escaping the underscore) returned matches but the "_" was not highlighted.  Not sure what this search term was looking for.  It appears that the backslash is punctuation, and the underscore became another token.

I've noticed that "pfp\_" gave me results showing matches, but "pfp\_i" gave me results from what appears to be binary files, so I'm not entirely sure what the new search patterns are...

Anybody have any clarification on the use of underscores for searches?? Reviewing the documentation did not clarify this.


Thank You!


1 answer


Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,711 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you