| 
									
										
										
										
											2009-03-18 18:07:19 -04:00
										 |  |  | ! Copyright (C) 2008, 2009 Doug Coleman, Daniel Ehrenberg. | 
					
						
							|  |  |  | ! See http://factorcode.org/license.txt for BSD license. | 
					
						
							|  |  |  | USING: accessors kernel make prettyprint.backend | 
					
						
							| 
									
										
										
										
											2016-03-31 00:07:43 -04:00
										 |  |  | prettyprint.custom regexp regexp.parser splitting ;
 | 
					
						
							| 
									
										
										
										
											2009-03-18 18:07:19 -04:00
										 |  |  | IN: regexp.prettyprint | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | M: regexp pprint* | 
					
						
							|  |  |  |     [ | 
					
						
							|  |  |  |         [ | 
					
						
							| 
									
										
										
										
											2016-03-31 02:28:12 -04:00
										 |  |  |             [ raw>> "\\/" "\\\\/" replace "R/ " % % "/" % ] | 
					
						
							| 
									
										
										
										
											2009-03-18 18:07:19 -04:00
										 |  |  |             [ options>> options>string % ] bi
 | 
					
						
							|  |  |  |         ] "" make | 
					
						
							| 
									
										
										
										
											2015-06-29 19:43:15 -04:00
										 |  |  |     ] keep present-text ;
 |