About 38,600,000 results
Open links in new tab
  1. How to do whole-word search similar to "grep -w" in Vim

    May 5, 2023 · How do I do a whole-word search like grep -w in Vim, which returns only lines where the sought-for string is a whole word and not part of a larger word? grep -w : Select only those lines …

  2. unix - How to grep for the whole word - Stack Overflow

    If you just want to filter out the remainder text part, you can do this. xargs grep -s 's:text ' This should find only s:text instances with a space after the last t. If you need to find s:text instances that only have a …

  3. Using c++ to solve wordsearch. - Stack Overflow

    Apr 17, 2015 · As a hint, if you have an array of strings corresponding to the rows then the normal horizontal search is trivial. So you could apply a similar logic to the other directions too: construct …

  4. Searching word in vim? - Stack Overflow

    Jan 19, 2009 · I can search word in vim with /word. How can I search only for word, excluding searches for word1 and word2?

  5. How to match a whole word with a regular expression?

    re.search(r'\bis\b', your_string) From the docs: \b Matches the empty string, but only at the beginning or end of a word. Note that the re module uses a naive definition of "word" as a "sequence of …

  6. r/wordsearches - Reddit

    Word search generator Hi all, I know there’s a bunch of sites to generate word searches but I wanted to make my own so I made: https://word-search-generator.com The words and settings you enter are …

  7. Fastest algorithm for finding a word on a word search grid

    Nov 7, 2014 · The interviewer asked me to come up with a general approach for finding a word on a word search grid. For simplicity, there is no need to worry about memory constraints or searching …

  8. shell - sed whole word search and replace - Stack Overflow

    How do I search and replace whole words using sed? Doing sed -i 's/ [oldtext]/ [newtext]/g' <file> will also replace partial matches of [oldtext] which I don't want it to do.

  9. Building a wordsearch generator in python - Stack Overflow

    Oct 25, 2021 · I am creating a word search generator in Python, but i'm having a problem with the words appearing the grid. When the grid is made, the coordinates are there for one of the letters but not the …

  10. Word Search Puzzle: How do I search an array of letters to find a word?

    I am trying to create a word-search puzzle game that asks the user to enter a word they think is in the array, and if that word is found, then give the user a point (for a total of 10 points, after which a …