Example conversation: DIALOG:
what is the difference between a?c and b?c in java script
-  
if (/ab?c/.test("ac")) console.log("OK") ; // match: "ac", "abc" if (/ab*c/.test("ac")) console.log("OK"); // match: "ac", "abc", "abbc", "abbbc" etc. if (/ab+c/.test("abc")) console.log("OK"); // match: "abc", "abbc", "abbbc" etc. if (/ab{3}c/.test("abbbc")) console.log("OK"); // match: " abbbc" if (/ab{3,}c/.test("abbbc")) console.log("OK"); // match: " abbbc", "abbbbc", "abbbbbc" etc. if (/ab{1,3}c/.test("abc")) console.log("OK"); // match: "abc", "abbc", "abbbc"  // ^ - string starts with // $ - string ends with  if (/^My/.test("My name is Tom")) console.log ("Hi!"); if (/Tom$/.test("My name is Tom")) console.log (" Hi Tom!");  // ( ) - groups characters if (/water(mark)?/.test("watermark")) console.log("Here is water!") ; // match: "water", "watermark",


Read the dialog and predict the next turn. DIALOG:
What is the difference between a city-county and a metropolitan city?
- Abag Banner Abag Banner (Mongolian: "Abaɣ-a qosiɣu"; ) is a county of Inner Mongolia, People's Republic of China.
- Are there any other interesting aspects about this article?
- It is under the administration of Xilin Gol League.
- What is the population?
- 

Abag Mongols live here.


Example conversation: Write the response (start with "Response:") DIALOG:
What happened in the early 14th century with Mouzalon?
- After disagreeing with the emperor's unionist religious policies, he was dismissed and flogged, but returned to favour under Andronikos II Palaiologos (r. 1282–1328). His daughter Eudokia married Constantine Palaiologos, the emperor's second son.
- What did he do after he returned to favor?
- Under Andronikos II, the family also regained military offices: Stephen Mouzalon was "megas droungarios tou ploimou" and led the negotiations with the Catalan Company, while the "hetaireiarches" George Mouzalon led the Byzantine forces in the Battle of Bapheus against the Ottomans in 1302.
- Did anyone else join the family?
- 

Response: The aristocrat John Mouzalon is mentioned later in the century, while the last known member of the family is the "philosopher physician" Demetrios Mouzalon in the 15th century.


See the conversation examples, and predict the next turn. DIALOG:
What was the difference between the final and the semi-final?
- Both Kvitová and Stosur finished with clean winners-to-errors differentials (Kvitová 38–39, Stosur 16–18) but the biggest difference came in creating break point opportunities – Kvitová brought up 11 break points (converting on five) while Stosur only got six break points (converting on three).
- Who played in the semi-final?
- The second semifinal featured red group no.
- Who was the other player?
- 1 Victoria Azarenka and white group no.
- Who was the third player?
- 2 Vera Zvonareva.
- What setbacks did Azarenka have?
- 

She broke serve three times in the first set, including once at love.


Get response for this dialogue: DIALOG:
What is Afterthoughts (album)?
- 
Afterthoughts (album) Afterthoughts is an album released in May 2013 by the progressive rock band Nosound, released on Kscope.


Problem: What could be the response? DIALOG:
What is the name of Joshua Rashaad McFadden's educational institution?
- 
A:
Joshua Rashaad McFadden is an Assistant Professor of Photography at Rochester Institute of Technology (RIT) in the School of Photographic Arts and Sciences - College of Art and Design.