fork(1) download
  1. import re
  2.  
  3. wordstring = '''SCENE I. Yorkshire. Gaultree Forest.
  4. Enter the ARCHBISHOP OF YORK, MOWBRAY, LORD HASTINGS, and others
  5. ARCHBISHOP OF YORK
  6. What is this forest call'd?
  7. HASTINGS
  8. 'Tis Gaultree Forest, an't shall please your grace.
  9. ARCHBISHOP OF YORK
  10. Here stand, my lords; and send discoverers forth
  11. To know the numbers of our enemies.
  12. HASTINGS
  13. We have sent forth already.
  14. ARCHBISHOP OF YORK
  15. 'Tis well done.
  16. My friends and brethren in these great affairs,
  17. I must acquaint you that I have received
  18. New-dated letters from Northumberland;
  19. Their cold intent, tenor and substance, thus:
  20. Here doth he wish his person, with such powers
  21. As might hold sortance with his quality,
  22. The which he could not levy; whereupon
  23. He is retired, to ripe his growing fortunes,
  24. To Scotland: and concludes in hearty prayers
  25. That your attempts may overlive the hazard
  26. And fearful melting of their opposite.
  27. MOWBRAY
  28. Thus do the hopes we have in him touch ground
  29. And dash themselves to pieces.
  30. Enter a Messenger
  31. HASTINGS
  32. Now, what news?
  33. Messenger
  34. West of this forest, scarcely off a mile,
  35. In goodly form comes on the enemy;
  36. And, by the ground they hide, I judge their number
  37. Upon or near the rate of thirty thousand.
  38. MOWBRAY
  39. The just proportion that we gave them out
  40. Let us sway on and face them in the field.
  41. ARCHBISHOP OF YORK
  42. What well-appointed leader fronts us here?
  43. Enter WESTMORELAND
  44. MOWBRAY
  45. I think it is my Lord of Westmoreland.
  46. WESTMORELAND
  47. Health and fair greeting from our general,
  48. The prince, Lord John and Duke of Lancaster.
  49. ARCHBISHOP OF YORK
  50. Say on, my Lord of Westmoreland, in peace:
  51. What doth concern your coming?
  52. WESTMORELAND
  53. Then, my lord,
  54. Unto your grace do I in chief address
  55. The substance of my speech. If that rebellion
  56. Came like itself, in base and abject routs,
  57. Led on by bloody youth, guarded with rags,
  58. And countenanced by boys and beggary,
  59. I say, if damn'd commotion so appear'd,
  60. In his true, native and most proper shape,
  61. You, reverend father, and these noble lords
  62. Had not been here, to dress the ugly form
  63. Of base and bloody insurrection
  64. With your fair honours. You, lord archbishop,
  65. Whose see is by a civil peace maintained,
  66. Whose beard the silver hand of peace hath touch'd,
  67. Whose learning and good letters peace hath tutor'd,
  68. Whose white investments figure innocence,
  69. The dove and very blessed spirit of peace,
  70. Wherefore do you so ill translate ourself
  71. Out of the speech of peace that bears such grace,
  72. Into the harsh and boisterous tongue of war;
  73. Turning your books to graves, your ink to blood,
  74. Your pens to lances and your tongue divine
  75. To a trumpet and a point of war?
  76. ARCHBISHOP OF YORK
  77. Wherefore do I this? so the question stands.
  78. Briefly to this end: we are all diseased,
  79. And with our surfeiting and wanton hours
  80. Have brought ourselves into a burning fever,
  81. And we must bleed for it; of which disease
  82. Our late king, Richard, being infected, died.
  83. But, my most noble Lord of Westmoreland,
  84. I take not on me here as a physician,
  85. Nor do I as an enemy to peace
  86. Troop in the throngs of military men;
  87. But rather show awhile like fearful war,
  88. To diet rank minds sick of happiness
  89. And purge the obstructions which begin to stop
  90. Our very veins of life. Hear me more plainly.
  91. I have in equal balance justly weigh'd
  92. What wrongs our arms may do, what wrongs we suffer,
  93. And find our griefs heavier than our offences.
  94. We see which way the stream of time doth run,
  95. And are enforced from our most quiet there
  96. By the rough torrent of occasion;
  97. And have the summary of all our griefs,
  98. When time shall serve, to show in articles;
  99. Which long ere this we offer'd to the king,
  100. And might by no suit gain our audience:
  101. When we are wrong'd and would unfold our griefs,
  102. We are denied access unto his person
  103. Even by those men that most have done us wrong.
  104. The dangers of the days but newly gone,
  105. Whose memory is written on the earth
  106. With yet appearing blood, and the examples
  107. Of every minute's instance, present now,
  108. Hath put us in these ill-beseeming arms,
  109. Not to break peace or any branch of it,
  110. But to establish here a peace indeed,
  111. Concurring both in name and quality.
  112. WESTMORELAND
  113. When ever yet was your appeal denied?
  114. Wherein have you been galled by the king?
  115. What peer hath been suborn'd to grate on you,
  116. That you should seal this lawless bloody book
  117. Of forged rebellion with a seal divine
  118. And consecrate commotion's bitter edge?
  119. ARCHBISHOP OF YORK
  120. My brother general, the commonwealth,
  121. To brother born an household cruelty,
  122. I make my quarrel in particular.
  123. WESTMORELAND
  124. There is no need of any such redress;
  125. Or if there were, it not belongs to you.
  126. MOWBRAY
  127. Why not to him in part, and to us all
  128. That feel the bruises of the days before,
  129. And suffer the condition of these times
  130. To lay a heavy and unequal hand
  131. Upon our honours?
  132. WESTMORELAND
  133. O, my good Lord Mowbray,
  134. Construe the times to their necessities,
  135. And you shall say indeed, it is the time,
  136. And not the king, that doth you injuries.
  137. Yet for your part, it not appears to me
  138. Either from the king or in the present time
  139. That you should have an inch of any ground
  140. To build a grief on: were you not restored
  141. To all the Duke of Norfolk's signories,
  142. Your noble and right well remember'd father's?
  143. MOWBRAY
  144. What thing, in honour, had my father lost,
  145. That need to be revived and breathed in me?
  146. The king that loved him, as the state stood then,
  147. Was force perforce compell'd to banish him:
  148. And then that Harry Bolingbroke and he,
  149. Being mounted and both roused in their seats,
  150. Their neighing coursers daring of the spur,
  151. Their armed staves in charge, their beavers down,
  152. Their eyes of fire sparking through sights of steel
  153. And the loud trumpet blowing them together,
  154. Then, then, when there was nothing could have stay'd
  155. My father from the breast of Bolingbroke,
  156. O when the king did throw his warder down,
  157. His own life hung upon the staff he threw;
  158. Then threw he down himself and all their lives
  159. That by indictment and by dint of sword
  160. Have since miscarried under Bolingbroke.
  161. WESTMORELAND
  162. You speak, Lord Mowbray, now you know not what.
  163. The Earl of Hereford was reputed then
  164. In England the most valiant gentlemen:
  165. Who knows on whom fortune would then have smiled?
  166. But if your father had been victor there,
  167. He ne'er had borne it out of Coventry:
  168. For all the country in a general voice
  169. Cried hate upon him; and all their prayers and love
  170. Were set on Hereford, whom they doted on
  171. And bless'd and graced indeed, more than the king.
  172. But this is mere digression from my purpose.
  173. Here come I from our princely general
  174. To know your griefs; to tell you from his grace
  175. That he will give you audience; and wherein
  176. It shall appear that your demands are just,
  177. You shall enjoy them, every thing set off
  178. That might so much as think you enemies.
  179. MOWBRAY
  180. But he hath forced us to compel this offer;
  181. And it proceeds from policy, not love.
  182. WESTMORELAND
  183. Mowbray, you overween to take it so;
  184. This offer comes from mercy, not from fear:
  185. For, lo! within a ken our army lies,
  186. Upon mine honour, all too confident
  187. To give admittance to a thought of fear.
  188. Our battle is more full of names than yours,
  189. Our men more perfect in the use of arms,
  190. Our armour all as strong, our cause the best;
  191. Then reason will our heart should be as good
  192. Say you not then our offer is compell'd.
  193. MOWBRAY
  194. Well, by my will we shall admit no parley.
  195. WESTMORELAND
  196. That argues but the shame of your offence:
  197. A rotten case abides no handling.
  198. HASTINGS
  199. Hath the Prince John a full commission,
  200. In very ample virtue of his father,
  201. To hear and absolutely to determine
  202. Of what conditions we shall stand upon?
  203. WESTMORELAND
  204. That is intended in the general's name:
  205. I muse you make so slight a question.
  206. ARCHBISHOP OF YORK
  207. Then take, my Lord of Westmoreland, this schedule,
  208. For this contains our general grievances:
  209. Each several article herein redress'd,
  210. All members of our cause, both here and hence,
  211. That are insinew'd to this action,
  212. Acquitted by a true substantial form
  213. And present execution of our wills
  214. To us and to our purposes confined,
  215. We come within our awful banks again
  216. And knit our powers to the arm of peace.
  217. WESTMORELAND
  218. This will I show the general. Please you, lords,
  219. In sight of both our battles we may meet;
  220. And either end in peace, which God so frame!
  221. Or to the place of difference call the swords
  222. Which must decide it.
  223. ARCHBISHOP OF YORK
  224. My lord, we will do so.
  225. Exit WESTMORELAND
  226. MOWBRAY
  227. There is a thing within my bosom tells me
  228. That no conditions of our peace can stand.
  229. HASTINGS
  230. Fear you not that: if we can make our peace
  231. Upon such large terms and so absolute
  232. As our conditions shall consist upon,
  233. Our peace shall stand as firm as rocky mountains.
  234. MOWBRAY
  235. Yea, but our valuation shall be such
  236. That every slight and false-derived cause,
  237. Yea, every idle, nice and wanton reason
  238. Shall to the king taste of this action;
  239. That, were our royal faiths martyrs in love,
  240. We shall be winnow'd with so rough a wind
  241. That even our corn shall seem as light as chaff
  242. And good from bad find no partition.
  243. ARCHBISHOP OF YORK
  244. No, no, my lord. Note this; the king is weary
  245. Of dainty and such picking grievances:
  246. For he hath found to end one doubt by death
  247. Revives two greater in the heirs of life,
  248. And therefore will he wipe his tables clean
  249. And keep no tell-tale to his memory
  250. That may repeat and history his loss
  251. To new remembrance; for full well he knows
  252. He cannot so precisely weed this land
  253. As his misdoubts present occasion:
  254. His foes are so enrooted with his friends
  255. That, plucking to unfix an enemy,
  256. He doth unfasten so and shake a friend:
  257. So that this land, like an offensive wife
  258. That hath enraged him on to offer strokes,
  259. As he is striking, holds his infant up
  260. And hangs resolved correction in the arm
  261. That was uprear'd to execution.
  262. HASTINGS
  263. Besides, the king hath wasted all his rods
  264. On late offenders, that he now doth lack
  265. The very instruments of chastisement:
  266. So that his power, like to a fangless lion,
  267. May offer, but not hold.
  268. ARCHBISHOP OF YORK
  269. 'Tis very true:
  270. And therefore be assured, my good lord marshal,
  271. If we do now make our atonement well,
  272. Our peace will, like a broken limb united,
  273. Grow stronger for the breaking.
  274. MOWBRAY
  275. Be it so.
  276. Here is return'd my Lord of Westmoreland.
  277. Re-enter WESTMORELAND
  278. WESTMORELAND
  279. The prince is here at hand: pleaseth your lordship
  280. To meet his grace just distance 'tween our armies.
  281. MOWBRAY
  282. Your grace of York, in God's name then, set forward.
  283. ARCHBISHOP OF YORK
  284. Before, and greet his grace: my lord, we come.
  285. Exeunt'''
  286.  
  287. busca = re.findall('(\\bis\\b)', wordstring, re.IGNORECASE)
  288. print("{} \nTotal encontrado's: {}".format(busca, len(busca)))
Success #stdin #stdout 0.02s 28384KB
stdin
Standard input is empty
stdout
['is', 'is', 'is', 'is', 'is', 'is', 'is', 'is', 'is', 'is', 'is', 'is', 'is', 'is', 'is', 'is'] 
Total encontrado's: 16