Regular expressions?
Which quantities does the following expression describe?
"\."
Which quantities does the following expression describe?
"\."
We have to do a computer science problem involving arrays, and we need an applet for graphical output. However, when I try to run my program, I get this error: I'm using a Mac and version 2023-12 (4.30.0). The others in my class have Windows, and it works for them, even though they also downloaded…
I asked several acquaintances, and they all agreed on the stereotype of male computer scientists: nerdy, lacking social skills, programming alone, good in their field, unathletic. When asked about the stereotype of a female computer scientist, one answer after another was completely different. What do you think the stereotype of a female computer scientist is,…
Hello everyone, I wanted to ask all the computer scientists a question. What do you find special about this profession? I need to know for a school project.
I have to prove using the pumping lemma that the following language is not regular: L={0^m1^n|n!=m} Is my approach correct? : let n be an element N, let k >= 1 and set w = 0^n1^(nk) with w element L and |w|>=n, decomposition w = xyz with |xy|<=n and y not empty, then xy= 0^p…
I want to note the shortcut, but I don't understand how to do it. I press alt+m and then?
If you didn't know what that was and it was explained to you, how quickly could you implement something like that in Java if you couldn't access existing heap classes
Der beschreibt ausschließlich einen einzelnen Punkt (es sei denn, die Anführungszeichen gehören auch dazu, dann würde er die Folge “Anführungszeichen – Punkt – Anführungszeichen” beschreiben).
Spielen hier die Anführungszeichen eine Rolle? Welche Bedeutung haben die?
Es geht nur darum, ob die Anführungszeichen Teil des regulären Ausdrucks sind, oder ob du sie selbst hinzugefügt hast, um den regulären Ausdruck zu “markieren”.
Wenn sie Teil des regulären Ausdrucks sind, dann haben sie dieselbe Bedeutung wie fast alle anderen Zeichen auch, sie “matchen” eben jeweils ein Anführungszeichen des Suchtextes.
2 gänsefüßchen, ein backslash und ein punkt.
Backslash vor Zeichen mit besonderer Bedeutung hebt die besondere Bedeutung auf.
\\ steht für einen einzelnen Backslash
\? für ein Fragezeichen im durchsuchten Text (statt für ein optionales Element)
\( für eine öffnende Klammer im durchsuchten Text (statt den Beginn einer Gruppe)
etc.
Also hier ist die Mengen dann nur PUNKT?
Richtig. In Mengenschreibweise und mit der C#-üblichen Notation für einzelne Zeichen
Bzw. doch nicht richtig, wie ein Mathematiklehrer sagen würde – eine Menge ist etwas Anderes als ihre Elemente. Also: Diejenige Menge, die als einziges Element das Zeichen Punkt enthält.
Damit suchst du nach einem Punkt.