Top "Whitespace" questions

Whitespace, or white space, is often used to refer to any combination of spaces, tabs, and new lines which create blank space between text, either horizontally or vertically.

Regular Expression to match two separate phrases

I am looking for a regular expression that can ensure two phrases showing up on a webpage at the same …

regex string whitespace match phrases
setting tabwidth to 4 in git show / git diff

At work we are several developers and don't have a code style guide, and some developers indent with tabs, and …

git bash tabs whitespace spaces
Replace Multiple Spaces and Newlines with only one space in PHP

I have a string with multiple newlines. The String: This is a dummy text. I need to format this. Desired …

php string whitespace normalize
Eclipse multi-line indent uses tabs instead of spaces (pydev)

When I highlight a block of text in Eclipse, and press TAB, it inserts a tab at the head of …

eclipse whitespace pydev code-formatting
Can CVS and Subversion be set to ignore whitespace in merging?

CVS and Subversion both have a handy merge feature so that when you update a source file that you have …

svn version-control cvs whitespace
Program to read a code and count the number of lines in it,do not include comments and blank lines in count

I am trying to create a program which, given an input file, returns the count of all the lines of …

c whitespace line-count
css white-space:nowrap horizontal scroll bug

I have the following markup <style type="text/css"> #outer { min-height: 100%; height: auto !important; height: 100%; width:100%; white-space:nowrap; } #…

css whitespace horizontal-scrolling nowrap
Problem with whitespace in a RegEx with capture groups

I've got a regular expression that I'm trying to match against the following types of data, with each token separated …

regex whitespace capture-group
What are all the Japanese whitespace characters?

I need to split a string and extract words separated by whitespace characters.The source may be in English or …

text unicode whitespace tokenize cjk
Java ResourceBundle leading whitespace in values

I'm trying out the example given at Oracle's documentations. The java file is here as shown in that page. Now …

java whitespace resourcebundle