fork download
  1. import re
  2.  
  3. txt = '''
  4. The first process, called wafer bumping, involves a reflow solder process to form the solder balls on all of the input/output
  5. (I/O) pads on the wafer. Because of the extremely small geometries involved, in some instances this process is best accomplished in a hydrogen atmosphere. RTC offers a high temperature furnace for this application, equipped with the hydrogen package, providing a re-flow process in a 100 hydrogen atmosphere. For a second process, called
  6. "chip joining", RTC offers both a near infrared or forced convection oven.
  7. '''
  8.  
  9. comb_nextline = re.sub(r'(?<=[^.][A-Za-z,-]) *\n *(?=[a-zA-Z0-9(\"])', ' ', txt)
  10. print(comb_nextline)
Success #stdin #stdout 0.03s 9412KB
stdin
Standard input is empty
stdout
The first process, called wafer bumping, involves a reflow solder process to form the solder balls on all of the input/output (I/O) pads on the wafer. Because of the extremely small geometries involved, in some instances this process is best accomplished in a hydrogen atmosphere. RTC offers a high temperature furnace for this application, equipped with the hydrogen package, providing a re-flow process in a 100 hydrogen atmosphere. For a second process, called "chip joining", RTC offers both a near infrared or forced convection oven.